?/TD>
Microsoft DirectX 9.0

ID3DXSaveUserData Interface


This interface is implemented by the application to save any additional user data embedded in .x files. An instance of this interface is passed to D3DXSaveMeshHierarchyToFile, and Direct3D extensions (D3DX) calls the appropriate method on this interface every time the appropriate data is encountered. For example, for each frame object in the .x file, ID3DXSaveUserData::AddFrameChildData is called and passed the child data.

ID3DXSaveUserData Members

AddFrameChildData Add child data to the frame.
AddMeshChildData Add child data to the mesh.
AddTopLevelDataObjectsPost Add a top level object after the frame hierarchy.
AddTopLevelDataObjectsPre Add a top level object before the frame hierarchy.
RegisterTemplates A callback for the user to register an .x file template.
SaveTemplates A callback for the user to save an .x file template.

Interface Information

Inherits from Nothing
Headerd3dx9anim.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.