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


Getting a pixel colour from a texture in DX9 ?

Recommended Posts

Use IDirect3DTexture9::LockRect to lock it and get a pointer to a D3DLOCKED_RECT structure. The pBits member of the D3DLOCKED_RECT is a pointer to the texture data.

Share this post

Link to post
Share on other sites