D3DXBONECOMBINATION structure
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
-
Type: DWORD
-
Attribute table identifier.
-
FaceStart
-
Type: DWORD
-
Starting face.
-
FaceCount
-
Type: DWORD
-
Face count.
-
VertexStart
-
Type: DWORD
-
Starting vertex.
-
VertexCount
-
Type: DWORD
-
Vertex count.
-
BoneId
-
Type: DWORD*
-
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 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 (pMaxVertexInfl in ConvertToBlendedMesh). An indexed mesh array size is equal to the number of bone matrix palette entries (paletteSize in ConvertToIndexedBlendedMesh).
Remarks
The subset of the mesh described by D3DXBONECOMBINATION can be rendered in a single drawing call.
Requirements
Requirement | Value |
---|---|
Header |
|
See also