D3DX8.BufferGetBoneComboBoneIds
Retrieves the bone IDs from a bone combination buffer.
object.BufferGetBoneComboBoneIds( _
BoneComboBuffer As D3DXBuffer, _
Index As Long, _
PaletteSize As Long, _
BoneIds As Any)
Parts
- object
- Object expression that resolves to a D3DX8 object.
- BoneComboBuffer
- D3DXBuffer object, the buffer containing the bone data.
- Index
- Index value, specifying the index into the buffer.
- PaletteSize
- The maximum number of matrices that the bone combination can have.
- BoneIds
- First element of an array of values that identify each of the bones that can be drawn in a single drawing call. Note that the array can be of variable length to accommodate variable length bone combinations of D3DXSkinMesh.ConvertToIndexedBlendedMesh.
Error Codes
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
See Also
D3DXSkinMesh.GetMaxVertexInfluences, D3DXSkinMesh.GetNumBoneInfluences