Sign in to follow this  

Which parameters do the D3DX texture loading functions change?

This topic is 4852 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

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

This topic is 4852 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this