?/TD>
Microsoft DirectX 9.0

D3DTS_WORLDMATRIX Macro


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

Syntax

#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.

Macro Information

Headerd3d9types.h
Minimum operating systems Windows 98

See Also

IDirect3DDevice9::SetTransform


© 2002 Microsoft Corporation. All rights reserved.