D3DHAL_DP2SETTRANSFORM structure

D3DHAL_DP2SETTRANSFORM structure is used to specify the transform state and matrix for D3dDrawPrimitives2.

Syntax


typedef struct _D3DHAL_DP2SETTRANSFORM {
  D3DTRANSFORMSTATETYPE xfrmType;
  D3DMATRIX             matrix;
} D3DHAL_DP2SETTRANSFORM, *LPD3DHAL_DP2SETTRANSFORM;

Members

xfrmType

Specifies the type of transform being done.

ValueMeaning

D3DTRANSFORMSTATE_PROJECTION

Specifies a projection transformation.

D3DTRANSFORMSTATE_VIEW

Specifies a view transformation.

D3DTRANSFORMSTATE_WORLD

Specifies a world transformation.

 

matrix

Specifies the matrix used to perform the transform.

Remarks

This structure is used with hardware transform and lighting and is used by the Direct3D runtime to inform the driver about the various transformation matrices.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3dDrawPrimitives2
D3DHAL_DP2MULTIPLYTRANSFORM

 

 

Send comments about this topic to Microsoft

Show: