D3DXCreateSkinInfoFromBlendedMesh function
Creates a skin mesh from another mesh.
Syntax
HRESULT D3DXCreateSkinInfoFromBlendedMesh(
_In_ LPD3DXBASEMESH pMesh,
_In_ DWORD NumBones,
_In_ const D3DXBONECOMBINATION *pBoneCombinationTable,
_Out_ LPD3DXSKININFO *ppSkinInfo
);
Parameters
-
pMesh [in]
-
Type: LPD3DXBASEMESH
Pointer to an ID3DXBaseMesh object, the mesh from which to create the skin mesh.
-
NumBones [in]
-
Type: DWORD
The length of the array attached to the BoneId. See D3DXBONECOMBINATION.
-
pBoneCombinationTable [in]
-
Type: const D3DXBONECOMBINATION*
Pointer to an array of bone combinations. See D3DXBONECOMBINATION.
-
ppSkinInfo [out]
-
Type: LPD3DXSKININFO*
Address of a pointer to an ID3DXSkinInfo interface representing the created skin mesh object.
Return value
Type: HRESULT
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be the following: E_OUTOFMEMORY.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also