Expand Minimize

D3DDDIARG_SETTRANSFORM structure

The D3DDDIARG_SETTRANSFORM structure describes how to set up a transform.

Syntax


typedef struct _D3DDDIARG_SETTRANSFORM {
  D3DTRANSFORMSTATETYPE TransformType;
  D3DMATRIX             Matrix;
} D3DDDIARG_SETTRANSFORM;

Members

TransformType

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

ValueMeaning

D3DTRANSFORMSTATE_PROJECTION

Projection transformation

D3DTRANSFORMSTATE_VIEW

View transformation

D3DTRANSFORMSTATE_WORLD

World transformation

 

Matrix

[in] 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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

SetTransform

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft