Microsoft DirectX 8.1 (Visual Basic)

D3DX8.BufferGetBoneCombo

Retrieves a bone combination from a buffer.

object.BufferGetBoneCombo( _ 
    BoneComboBuffer As D3DXBuffer, _ 
    Index As Long, _ 
    BoneCombo As D3DXBONECOMBINATION)

Parts

object
Object expression that resolves to a D3DX8 object.
BoneComboBuffer
D3DXBuffer object, the buffer containing the bone combination data.
Index
Index value, specifying the index into the buffer.
BoneCombo
D3DXBONECOMBINATION type, to be filled with the bone combination data for the bone specified by Index.

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

D3DX8.LoadSkinMeshFromXof, D3DXSkinMesh.ConvertToBlendedMesh