Jump to content
  • Advertisement

Archived

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

Draigan

D3DXSprite

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

Just wondering if this class works with any sized bitmaps (especially considering that some cards cannot handle any sizes > 256, and some cards need square textures.)?

Share this post


Link to post
Share on other sites
Advertisement
it should behave similarly to D3DXCreateTexture...

ie. It should support whatever the hardware supports. The other D3DX functions stretch and resize textures to make them into powers of 2 textures if need be (640x480 becomes 1024x512)

Share this post


Link to post
Share on other sites
Are you sure it works with textures >256 on cards that don''t support textures that high? If it does, does it resize them?

Share this post


Link to post
Share on other sites
quote:
Original post by Draigan
Are you sure it works with textures >256 on cards that don''t support textures that high? If it does, does it resize them?


No, I guess I wasn''t clear. It will only do what the card supports, so if the card doesn''t support it, it won''t work.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!