Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Alpha Blending Modes of ID3DXSprite Interface

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


I haven''t tested this, but it should work. You would have to call sprite->Begin() then set your states, because Begin sets them up the way it likes them. And if you don''t call Begin, each time Draw is called, it calls Begin internally, so explicitly call Begin.

Though if you''re feeling constrained by D3DXSprite, you might be better off writing your own, it''s not hard and there are a couple of other Sprite-type wrappers available. D3DXSprite is not very flexible, but it''s a handy prototyping tool.

Stay Casual,

Drunken Hyena

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!