D3DTS_WORLDMATRIX

Maps indices in the range 0 through 255 to the corresponding transform states.

#define D3DTS_WORLDMATRIX(index) (D3DTRANSFORMSTATETYPE)(index + 256)

Parameters

index
An index value in the range 0 through 255.

Remarks

Transform states in the range 256 through 511 are reserved to store up to 256 matrices that can be indexed using 8-bit indices.

See Also

IDirect3DDevice9::SetTransform