ID3DXFileEnumObject interface

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.

Members

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

Methods

The ID3DXFileEnumObject interface has these methods.

Method Description
GetChild Retrieves a child object in this file data object.
GetChildren Retrieves the number of child objects in this file data object.
GetDataObjectById Retrieves the data object that has the specified GUID.
GetDataObjectByName Retrieves the data object that has the specified name.
GetFile Retrieves the ID3DXFile object.

 

Remarks

The GUID for the ID3DXFileEnumObject interface is IID_ID3DXFileEnumObject.

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

typedef interface ID3DXFileEnumObject *LPD3DXFILEENUMOBJECT;

Requirements

Header
D3DX9Xof.h
Library
D3dx9.lib

See also

D3DX X File Interfaces