Which parameters do the D3DX texture loading functions change?
As far as I know, the only thing it changes is the address of your IDirect3DTexture(8/9) to point to the loaded texture.
If you look up D3DXCreateCubeTextureFromFileEx in the DXSDK (D3DX Reference -> Functions -> Texturing Functions), you'll see:
A) the function prototype;
B) the parameters and their descriptions;
Along with the descriptions, you'll see an [in]- or [out]-tag depending on what the function will do with it. If a parameter is tagged as [in], it will probably be read-only. With the [out]-tag (pointers), you'll get something new from it.
In your case, the last two parameters, PALETTEENTRY* and IDirect3DTexture9*.
A) the function prototype;
B) the parameters and their descriptions;
Along with the descriptions, you'll see an [in]- or [out]-tag depending on what the function will do with it. If a parameter is tagged as [in], it will probably be read-only. With the [out]-tag (pointers), you'll get something new from it.
In your case, the last two parameters, PALETTEENTRY* and IDirect3DTexture9*.
Thank you, but I know that it gives you the palette and source file info.
I thought that it changed the format to one supported by the graphics card.
It certainly says that in 'Special Effects Game Programming with DirectX 8' [Mason McCuskey].
EDIT:
The managed DX help is not as good as the C++ help, you can tell that they just copied some of it and forgot to alter it or something...
I rated you helpful anyway Pipo for you good intentions.
I thought that it changed the format to one supported by the graphics card.
It certainly says that in 'Special Effects Game Programming with DirectX 8' [Mason McCuskey].
EDIT:
The managed DX help is not as good as the C++ help, you can tell that they just copied some of it and forgot to alter it or something...
I rated you helpful anyway Pipo for you good intentions.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement