Caps.MaxVertexBlendMatrixIndex Property (Microsoft.DirectX.Direct3D)

Retrieves the maximum matrix index that can be indexed into using pre-vertex indices.

Definition

Visual Basic Public ReadOnly Property MaxVertexBlendMatrixIndex As Integer
C# public int MaxVertexBlendMatrixIndex { get; }
C++ public:
property int MaxVertexBlendMatrixIndex {
        int get();
}
JScript public function get MaxVertexBlendMatrixIndex() : int

Property Value

System.Int32
Maximum matrix index that can be indexed into using pre-vertex indices.

This property is read-only. 

Remarks

The number of matrices is MaxVertexBlendMatrixIndex + 1, which is the size of the matrix palette. If normals are present in the vertex data that need to be blended for lighting, the number of matrices is half the number specified by this capability flag. If MaxVertexBlendMatrixIndex is 0, the driver does not support indexed vertex blending. If the value is not 0, the valid range of indices is 0 through MaxVertexBlendMatrixIndex.

A 0 value for MaxVertexBlendMatrixIndex indicates that the driver does not support indexed matrices.

When software vertex processing is used, 256 matrices can be used for indexed vertex blending, with or without normal blending.

For a given physical device, this capability can vary across Device objects, depending on the parameters supplied to the Device constructor.