Microsoft DirectX 8.0 (Visual Basic)

Determining Support for Indexed Vertex Blending

To determine the maximum size for the indexed vertex blending matrix, check the MaxVertexBlendMatrix member of the D3DCAPS8 structure. The code example below uses the Direct3DDevice8.GetDeviceCaps method to retrieve this size.

Dim d3dCaps As D3DCAPS8

Call D3DDevice.GetDeviceCaps(d3dCaps)
IndexedMatrixMaxSize = d3dCaps.MaxVertexBlendMatrixIndex

If the value set in MaxVertexBlendMatrix is 0, then the device does not support indexed matrices.

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