d3d9.dllID3DXLoadUserData
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXLoadUserData Interface


This interface is implemented by the application to save any additional user data embedded in .x files. An instance of this interface is passed to D3DXLoadMeshHierarchyFromX, and D3DX calls the appropriate method on this interface every time the appropriate data is encountered. For example, for each frame object in the .x file, ID3DXLoadUserData::LoadFrameChildData is called and passed the child data.

ID3DXLoadUserData Members

LoadFrameChildData Load frame child data from a .x file.
LoadMeshChildData Load mesh child data from a .x file.
LoadTopLevelData Load top level data from a .x file.

Remarks

The LPD3DXLOADUSERDATA type is defined as a pointer to this interface.

typedef interface ID3DXLoadUserData ID3DXLoadUserData;
typedef interface ID3DXLoadUserData *LPD3DXLOADUSERDATA;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits from Nothing
Headerd3dx9anim.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.