D3DDDIARG_SETTRANSFORM structure (d3dumddi.h)

The D3DDDIARG_SETTRANSFORM structure describes how to set up a transform.

Syntax

typedef struct _D3DDDIARG_SETTRANSFORM {
  [in] D3DTRANSFORMSTATETYPE TransformType;
  [in] D3DMATRIX             Matrix;
} D3DDDIARG_SETTRANSFORM;

Members

[in] TransformType

A D3DTRANSFORMSTATETYPE-typed value that indicates the type of transform to set up. This member can be one of the following values.

Value Meaning
D3DTRANSFORMSTATE_PROJECTION Projection transformation
D3DTRANSFORMSTATE_VIEW View transformation
D3DTRANSFORMSTATE_WORLD World transformation

[in] Matrix

A D3DMATRIX structure that describes the matrix that is used to set up the transform. For more information about D3DMATRIX, see the Microsoft Windows SDK documentation.

Remarks

The Microsoft Direct3D runtime uses D3DDDIARG_SETTRANSFORM in a call to the user-mode display driver SetTransform function to inform the driver about various hardware transformation and lighting matrices.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

SetTransform