D3DTS_WORLDMATRIX macro

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

Syntax

D3DTRANSFORMSTATETYPE D3DTS_WORLDMATRIX(
   int index
);

Parameters

index

An index value in the range 0 through 255.

Return value

The D3DTRANSFORMSTATETYPE that maps to the given index.

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.

Requirements

Requirement Value
Header
D3d9types.h

See also

Macros

SetTransform