Archived

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

Draigan

D3DXSprite

Recommended Posts

Draigan    130
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
CrazedGenius    156
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
Anozireth    122
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