D3DXCreateSkinInfoFromBlendedMesh
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXCreateSkinInfoFromBlendedMesh Function


Creates a skin mesh from another mesh.

Syntax

HRESULT WINAPI D3DXCreateSkinInfoFromBlendedMesh(      

    LPD3DXBASEMESH pMesh,     DWORD NumBones,     const D3DXBONECOMBINATION *pBoneCombinationTable,     LPD3DXSKININFO *ppSkinInfo );

Parameters

pMesh
[in] Pointer to an ID3DXBaseMesh object, the mesh from which to create the skin mesh.
NumBones
[in] The length of the array attached to the BoneId. See D3DXBONECOMBINATION.
pBoneCombinationTable
[in] Pointer to an array of bone combinations. See D3DXBONECOMBINATION.
ppSkinInfo
[out, retval] Address of a pointer to an ID3DXSkinInfo interface representing the created skin mesh object.

Return Value

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be the following:

E_OUTOFMEMORYMicrosoft Direct3D could not allocate sufficient memory to complete the call.


Function Information

Headerd3dx9mesh.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.