Applications use the methods of the ID3DXFileSaveData interface to add data objects as children of a .x file data node.
Method | Description |
---|---|
ID3DXFileSaveData::AddDataObject | Adds a data object as a child of the ID3DXFileSaveData file data node. |
ID3DXFileSaveData::AddDataReference | Adds a data reference as a child of this ID3DXFileSaveData file data node. The data reference points to a file data object. |
ID3DXFileSaveData::GetId | Retrieves the GUID of this ID3DXFileSaveData file data node. |
ID3DXFileSaveData::GetName | Retrieves the name of this ID3DXFileSaveData file data node. |
ID3DXFileSaveData::GetSave | Retrieves a pointer to this ID3DXFileSaveObject file data node. |
ID3DXFileSaveData::GetType | Retrieves the template ID of this file data node. |
The GUID for the ID3DXFileSaveObject interface is IID_ID3DXFileSaveObject.
The LPD3DXFileSaveData type is defined as a pointer to this interface.
typedef interface ID3DXFileSaveData *LPD3DXFILESAVEDATA;
Header: Declared in D3dx9xof.h.
Import Library: Use D3dx9.lib.