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.
Members
The ID3DXLoadUserData interface inherits from the IUnknown interface. ID3DXLoadUserData also has these types of members:
Methods
The ID3DXLoadUserData interface has these methods.
Method | Description |
---|---|
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;
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also