Sign in to follow this  
etftw

Limit on Textures?

Recommended Posts

etftw    122
Is there a limit on the amount of textures you can draw to screen using DirectX? I am trying to draw a total of 61 sprites to the screen, when trying to draw 50 it is fine, anymore and it is just drawing a blank screen.

Share this post


Link to post
Share on other sites
etftw    122
I am using the LPD3DXSPRITE class to draw them

e.g.


LPD3DXSPRITE sprite;

sprite->Draw( texture, &rect, NULL, vector, D3DCOLOR_XRGB( 255, 255, 255 ) );

Share this post


Link to post
Share on other sites

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