   C++ DirectX9.  Simple question- How to access texture data.
  HiI feel stupid asking this but I can't find to methods to extract data from a texture.I'm loading a texture from file into LPDIRECT3DTEXTURE9 using D3DXCreateTextureFromFile. Now what I would like to know is how do I get access to the actual *.bmp data? I need access to the bmp width, height, pixel colors etc... Is there any directx9 method to do this?Thx in advance   
  Use D3DXCreateTextureFromFileEx() function and pass pointer to D3DXIMAGE_INFO structure to get texture width, height, depth, format etc...If you want to get pixel colors than lock the texture and read bytes you are interested in.   ;  Thank you very much, got it working :)   