ID3DXFileSaveData interface

Applications use the methods of the ID3DXFileSaveData interface to add data objects as children of a .x file data node.

Members

The ID3DXFileSaveData interface inherits from the IUnknown interface. ID3DXFileSaveData also has these types of members:

Methods

The ID3DXFileSaveData interface has these methods.

Method Description
AddDataObject Adds a data object as a child of the ID3DXFileSaveData file data node.
AddDataReference Adds a data reference as a child of this ID3DXFileSaveData file data node. The data reference points to a file data object.
GetId Retrieves the GUID of this ID3DXFileSaveData file data node.
GetName Retrieves the name of this ID3DXFileSaveData file data node.
GetSave Retrieves a pointer to this ID3DXFileSaveObject file data node.
GetType Retrieves the template ID of this file data node.

 

Remarks

The GUID for the ID3DXFileSaveObject interface is IID_ID3DXFileSaveObject.

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

typedef interface ID3DXFileSaveData *LPD3DXFILESAVEDATA;

Requirements

Requirement Value
Header
D3DX9Xof.h
Library
D3dx9.lib

See also

D3DX X File Interfaces