2d directx
is it better-faster to draw 2d in directx by creating a surface, loading bitmap into it and then just copying the surface to backbuffer
or creating sprite, texture, then loading texture and displaying it with sprite
Definitely the latter [smile]
If you mean using IDirect3DSurface9 and then acquiring a pointer to the backbuffer (IDirect3DDevice9::GetBackBuffer()) and then IDirect3DDevice9::StretchRect(), it'd definitely be faster to use textures and regular "3D style" rendering.
hth
Jack
If you mean using IDirect3DSurface9 and then acquiring a pointer to the backbuffer (IDirect3DDevice9::GetBackBuffer()) and then IDirect3DDevice9::StretchRect(), it'd definitely be faster to use textures and regular "3D style" rendering.
hth
Jack
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement