D3DMTRANSFORMSTATETYPE (Windows CE 5.0)
This enumeration contains values that define types of transformation matrices.
typedef enum _D3DMTRANSFORMSTATETYPE { D3DMTS_WORLD = 0, D3DMTS_VIEW = 1, D3DMTS_PROJECTION = 2, D3DMTS_TEXTURE0 = 3, D3DMTS_TEXTURE1 = 4, D3DMTS_TEXTURE2 = 5, D3DMTS_TEXTURE3 = 6, D3DMTS_NUMTRANSFORM = 7, D3DMTS_FORCE_ULONG = 0x7fffffff,} D3DMTRANSFORMSTATETYPE;
Elements
- D3DMTS_WORLD
Indicates that the transformation matrix transforms vertices from model space to world space. - D3DMTS_VIEW
Indicates that the transformation matrix transforms vertices from world space to camera space. - D3DMTS_PROJECTION
Indicates that the transformation matrix transforms vertices from camera space to projection space. - D3DMTS_TEXTURE0
Identifies the transformation matrix being set for the specified texture stage. - D3DMTS_TEXTURE1
Identifies the transformation matrix being set for the specified texture stage. - D3DMTS_TEXTURE2
Identifies the transformation matrix being set for the specified texture stage. - D3DMTS_TEXTURE3
Identifies the transformation matrix being set for the specified texture stage. - D3DMTS_NUMTRANSFORM
Identifies the number of transformation matrices. - D3DMTS_FORCE_ULONG
Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.
Remarks
You can set the type of a transformation matrix by calling the IDirect3DMobileDevice::SetTransform method.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.
See Also
Direct3D Mobile Enumerations | IDirect3DMobileDevice::SetTransform
Send Feedback on this topic to the authors