Which parameters do the D3DX texture loading functions change?

Started by
3 comments, last by DrGUI 19 years, 7 months ago
Which parameters do the D3DX texture loading functions change?
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.
____________________________________________________________AAAAA: American Association Against Adobe AcrobatYou know you hate PDFs...
EDIT: What Raloth said.

Niko Suni

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*.
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.

This topic is closed to new replies.

Advertisement