Applications use the methods of the ID3DXFileEnumObject interface to cycle through the child file data objects in the file and to retrieve a child object by its globally unique identifier (GUID) or by its name.
Method | Description |
---|---|
ID3DXFileEnumObject::GetChild | Retrieves a child object in this file data object. |
ID3DXFileEnumObject::GetChildren | Retrieves the number of child objects in this file data object. |
ID3DXFileEnumObject::GetDataObjectById | Retrieves the data object that has the specified GUID. |
ID3DXFileEnumObject::GetDataObjectByName | Retrieves the data object that has the specified name. |
ID3DXFileEnumObject::GetFile | Retrieves the ID3DXFile object. |
The GUID for the ID3DXFileEnumObject interface is IID_ID3DXFileEnumObject.
The LPD3DXFILEENUMOBJECT type is defined as a pointer to this interface.
typedef interface ID3DXFileEnumObject *LPD3DXFILEENUMOBJECT;
Header: Declared in D3dx9xof.h.
Import Library: Use D3dx9.lib.