Sign in to follow this  

2d directx

This topic is 4355 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

This topic is 4355 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this