D3DTRANSFORMSTATETYPE

The D3DTRANSFORMSTATETYPE enumerated type describes the transformation state for the D3DOP_STATETRANSFORM opcode in the D3DOPCODE enumerated type. This enumerated type is part of the D3DSTATE structure.

typedef enum _D3DTRANSFORMSTATETYPE {

D3DTRANSFORMSTATE_WORLD = 1,

D3DTRANSFORMSTATE_VIEW = 2,

D3DTRANSFORMSTATE_PROJECTION = 3,

D3DTRANSFORMSTATE_FORCE_DWORD = 0x7fffffff,

} D3DTRANSFORMSTATETYPE;

Members

D3DTRANSFORMSTATE_WORLD,

D3DTRANSFORMSTATE_VIEW, and

D3DTRANSFORMSTATE_PROJECTION

Define the matrices for the world, view, and projection transformations. The default values are NULL (the identity matrices).

D3DTRANSFORMSTATE_FORCE_DWORD

Forces this enumerated type to be 32 bits in size.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

D3DOPCODE, D3DRENDERSTATETYPE