?/TD> |
Microsoft DirectX 9.0 |
Apply software skinning to the target vertices based on the current matrices.
Syntax
HRESULT UpdateSkinnedMesh(
CONST D3DXMATRIX *pBoneTransforms, CONST D3DXMATRIX *pBoneInvTransposeTransforms, PVOID pVerticesSrc, PVOID pVerticesDst );
Parameters
- pBoneTransforms
- [in] Bone transform matrix.
- pBoneInvTransposeTransforms
- [in] Inverse transpose of the bone transform matrix.
- pVerticesSrc
- [in] Pointer to the buffer containing the source vertices.
- pVerticesDst
- [in] Pointer to the buffer containing the destination vertices.
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.