Sign in to follow this  

[DX10] id3dxsprite question

This topic is 3425 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

Correct me if I'm wrong, but isn't ID3DX10Sprite supposed to set its own render states when you call Begin()? At least that's how I remember it was in DX9. It sets them, draws the sprites and, only if you asked for it specifically, resets the state after End(). Now, if you fiddle with the states between Begin() - End() calls, you can mess things up. But look at this: 1 device->RSSetState( &RS ); // turn on wireframe rendering 2 sprite->Begin(...); Line 1 should not affect the sprite class' setting, yet if I set the state to wireframe mode, spites will be drawn in wireframes. Is it not to be expected that Begin() sets up the pipleline for sprite rendering? Am I missing something here?

Share this post


Link to post
Share on other sites

This topic is 3425 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