d3d9.dllID3DXFileData
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXFileData Interface


Applications use the methods of the ID3DXFileData interface to build or to access the immediate hierarchy of the data object. Template restrictions determine the hierarchy.

ID3DXFileData Members

GetChild Retrieves a child object in this file data object.
GetChildren Retrieves the number of children in this file data object.
GetEnum Retrieves the enumeration object in this file data object.
GetId Retrieves the globally unique identifier (GUID) of this file data object.
GetName Retrieves the name of this file data object.
GetType Retrieves the template identifier (ID) in this file data object.
IsReference Indicates whether this file data object is a reference object that points to another child data object.
Lock Accesses the .x file data.
Unlock Ends the lifespan of the ppData pointer returned by ID3DXFileData::Lock.

Remarks

Data types allowed by the template are called optional members. The optional members are not required, but an object might miss important information without them. These optional members are saved as children of the data object. A child can be another data object or a reference to an earlier data object.

The GUID for the ID3DXFileData interface is IID_ID3DXFileData.

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

typedef interface ID3DXFileData *LPD3DXFILEDATA;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIUnknown
Headerd3dx9xof.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.