?/TD>
Microsoft DirectX 9.0

D3DXCreateSkinInfoFromBlendedMesh Function


Creates a skin mesh from another mesh.

Syntax

HRESULT D3DXCreateSkinInfoFromBlendedMesh(      

    LPD3DXBASEMESH pMesh,     DWORD numBoneCombinations,     LPD3DXBONECOMBINATION pBoneCombinationTable,     LPD3DXSKININFO* ppSkinInfo );

Parameters

pMesh
[in] Pointer to an ID3DXBaseMesh object, the mesh from which to create the skin mesh.
numBoneCombinations
[in] The number of elements in the bone combination table in pBoneCombinationTable.
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

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


Function Information

Headerd3dx9mesh.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.