0 out of 1 rated this helpful - Rate this topic

D3DTS_WORLDMATRIX macro

Applies to: desktop apps only

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

Header

D3d9types.h

See also

SetTransform

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ