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
Define the matrices for the world transformation. The default value is NULL (the identity matrix).
D3DTRANSFORMSTATE_VIEW
Define the matrices for the view transformation. The default value is NULL (the identity matrix).
D3DTRANSFORMSTATE_PROJECTION
Define the matrices for the projection transformation. The default value is NULL (the identity matrix).
D3DTRANSFORMSTATE_FORCE_DWORD
Forces this enumerated type to be 32 bits in size.

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.

See Also

D3DOPCODE, D3DRENDERSTATETYPE