Share via


D3DMXMatrixIdentityFxd (Windows Embedded CE 6.0)

1/6/2010

This inline function returns the identity matrix in fixed point format.

Syntax

D3DMXMATRIXFXD* D3DMXMatrixIdentityFxd(
  D3DMXMATRIXFXD* pOut
);

Parameters

  • pOut
    [in, out] Pointer to the D3DMXMATRIXFXD structure that is the result of the operation.

Return Value

Pointer to a D3DMXMATRIXFXD structure that is the identity matrix.

Remarks

The identity matrix is a matrix in which all coefficients are 0 except the [1,1][2,2][3,3][4,4] coefficients, which are set to 1. The identity matrix is special in that when it is applied to vertices, they are unchanged. The identity matrix is used as the starting point for matrices that will modify vertex values to create rotations, translations, and any other transformations that can be represented by a 4 ×4 matrix.

The return value for this function is the same value returned in the pOut parameter. In this way, the D3DMXMatrixIdentityFxd function can be used as a parameter for another function.

Requirements

Header d3dmx.h
Library Implemented in d3dmxmath.inl
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

D3DMX Functions
D3DMXMATRIXFXD
D3DMXMatrixIdentity