How to get the data of the IDirect3DTexture9??

Started by
0 comments, last by Evil Steve 15 years, 11 months ago
hey I load the texture from file. But I want to get the rgba data of each pixel. How could I do that?? Any opinion is welcome and appreciated!!!
Advertisement
Use IDirect3DTexture9::LockRect to get access to the raw bit data. The format that data is in depends on the format of your texture.

This topic is closed to new replies.

Advertisement