• Advertisement
Sign in to follow this  

Which parameters do the D3DX texture loading functions change?

This topic is 4922 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Which parameters do the D3DX texture loading functions change?

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, the only thing it changes is the address of your IDirect3DTexture(8/9) to point to the loaded texture.

Share this post


Link to post
Share on other sites
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*.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement