ID3DXLoadUserData

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

Method Description
ID3DXLoadUserData::LoadFrameChildData Load frame child data from a .x file.
ID3DXLoadUserData::LoadMeshChildData Load mesh child data from a .x file.
ID3DXLoadUserData::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;

Requirements

Header: Declared in D3dx9anim.h.

Import Library: Use D3dx9.lib.