Share via


D3DHAL_DP2SETTRANSFORM

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

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

Members

  • xfrmType
    Specifies the type of transform being done.

    Value Description
    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 run time to inform the driver about the various transformation matrices.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3dDrawPrimitives2 | D3DHAL_DP2MULTIPLYTRANSFORM | D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.