Share via


D3DMMATRIX

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure describes a matrix.

Syntax

typedef struct _D3DMMATRIX {
  union {
    struct {
      D3DMVALUE  _11, _12, _13, _14;
      D3DMVALUE  _21, _22, _23, _24;
      D3DMVALUE  _31, _32, _33, _34;
      D3DMVALUE  _41, _42, _43, _44;
    };
    D3DMVALUE m[4][4];
  };
} D3DMMATRIX;

Members

  • _11, _12, through _44
    These 16 members correspond to individual floating-point values in a 4 x 4 matrix.
  • m
    A 4 x 4 array of floating-point values containing the contents of a 4 x 4 matrix.

Remarks

In Microsoft® Direct3D Mobile®, the _34 element of a projection matrix cannot be a negative number. If your application needs to use a negative value in this location, it should scale the entire projection matrix by 1, instead.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Direct3D Mobile Structures