Hi Guys,
I'm using DirectX - Direct3d - 9 - Managed, to build a 2d game. Although it's 2D i'm using the 3D interfaces.
Some time i uses Textures to display images, using the Sprite object, and sometime i uses Surfaces using the UpdateSurface or StretchRectangle methods.
I would like to know, generally, which is better to use? surface or texture?
Which consume more memory?
Which one is faster to draw?
Thanks a lot.
LDV
I'm using DirectX - Direct3d - 9 - Managed, to build a 2d game. Although it's 2D i'm using the 3D interfaces.
Some time i uses Textures to display images, using the Sprite object, and sometime i uses Surfaces using the UpdateSurface or StretchRectangle methods.
I would like to know, generally, which is better to use? surface or texture?
Which consume more memory?
Which one is faster to draw?
Thanks a lot.
LDV