Original Post
DirectX 9.0
Hello
I have a few straightforward questions.
Assuming that for drawing any 2D using D3DX Sprites, that 1 Sprite is enough for the whole 2D part of the game (HUD) (I dont know if it's better to use more than 1 Sprite).
What is faster?
Thanks
Hello
I have a few straightforward questions.
Assuming that for drawing any 2D using D3DX Sprites, that 1 Sprite is enough for the whole 2D part of the game (HUD) (I dont know if it's better to use more than 1 Sprite).
What is faster?
Sprite->Begin(...);Sprite->Draw(Texture1...);Sprite->Draw(Texture2...);Sprite->Draw(Texture3...);Sprite->Draw(Texture4...);Sprite->Draw(Texture5...);Sprite->Draw(Texture6...);Sprite->End();Device->SetStreamSource();Device->SetTexture(Texture1);Device->DrawPrimitive(...);Thanks