D3DXSprite

Started by
3 comments, last by Draigan 22 years, 2 months ago
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.)?
Advertisement
I know for sure it works for > 256, and I''d guess probably for odd-sized textures too.
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)
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials
Are you sure it works with textures >256 on cards that don''t support textures that high? If it does, does it resize them?
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.

This topic is closed to new replies.

Advertisement