Bewerken

Delen via


D3DHAL_DP2MULTIPLYTRANSFORM structure (d3dhal.h)

DirectX 8.0 and later versions only.

The D3DHAL_DP2MULTIPLYTRANSFORM structure is used to modify the transform matrix for D3dDrawPrimitives2.

Syntax

typedef struct _D3DHAL_DP2MULTIPLYTRANSFORM {
  D3DTRANSFORMSTATETYPE xfrmType;
  D3DMATRIX             matrix;
} D3DHAL_DP2MULTIPLYTRANSFORM;

Members

xfrmType

Specifies the current transform being modified.

Value Meaning
D3DTRANSFORMSTATE_PROJECTION Specifies the current projection transformation.
D3DTRANSFORMSTATE_VIEW Specifies the current view transformation.
D3DTRANSFORMSTATE_WORLD Specifies the current world transformation.

matrix

Specifies the matrix used to modify the current transform.

Remarks

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

Requirements

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

See also

D3DHAL_DP2SETTRANSFORM

D3dDrawPrimitives2