Original Post
Hi all, I want to load in images to use as textures using LPDIRECT3DTEXTURE9. Once ive used D3DXCreateTextureFromFile to load the texture into the LPDIRECT3DTEXTURE9 object is there away that i can determine the height and width of the texture? Also if the image ive loaded in is infact a grid of seperate images is there away i can use LPDIRECT3DTEXTURE9 to only show a specific image in the loaded texture? I can see that LPDIRECT3DTEXTURE9 has variables "Height" and "Width" but there doesnt seem to be a member function to retrieve them. Thanks