?/TD> |
Microsoft DirectX 9.0 |
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_OUTOFMEMORY Microsoft?Direct3D?could not allocate sufficient memory to complete the call.
Function Information
Header d3dx9mesh.h Import library d3dx9.lib Minimum operating systems Windows 98