![]() |
![]() |
![]() |
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_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