?/TD> |
Microsoft DirectX 9.0 |
Describes a subset of the mesh that has the same attribute and bone combination.
Syntax
typedef struct _D3DXBONECOMBINATION { DWORD AttribId; DWORD FaceStart; DWORD FaceCount; DWORD VertexStart; DWORD VertexCount; DWORD *BoneId; } D3DXBONECOMBINATION, *LPD3DXBONECOMBINATION;
Members
- AttribId
- Attribute table identifier.
- FaceStart
- Starting face.
- FaceCount
- Face count.
- VertexStart
- Starting vertex.
- VertexCount
- Vertex count.
- BoneId
- Pointer to 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 ID3DXSkinInfo::ConvertToIndexedBlendedMesh.
The size of the array varies based on the type of mesh generated. A non-indexed mesh array size is equal to the number of weights per vertex. An indexed mesh array size is equal to the number of bone matrix palette entries.
Remarks
The subset of the mesh described by D3DXBONECOMBINATION can be rendered in a single drawing call.
Structure Information
Header d3dx9mesh.h Minimum operating systems Windows 98