How to get the data of the IDirect3DTexture9??
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!!!
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
Popular Topics
Advertisement