D3DHAL_DP2SETTRANSFORM structure (d3dhal.h)

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;

Members

xfrmType

Specifies the type of transform being done.

Value Meaning
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

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3DHAL_DP2MULTIPLYTRANSFORM

D3dDrawPrimitives2