UV Coords in D3DXSprite?

Started by
1 comment, last by mateo 15 years, 9 months ago
Is it possible to use UV coordinates using the D3DXSprite?
Advertisement
The UV coordinates are set according to the pSrcRect parameter of ID3DXSprite::Draw. If you need to do anything with UV's, you should do it by manipulating that parameter.
Quote:Original post by MJP
The UV coordinates are set according to the pSrcRect parameter of ID3DXSprite::Draw. If you need to do anything with UV's, you should do it by manipulating that parameter.


Ok, thanks.

This topic is closed to new replies.

Advertisement