D3DXMatrixIsIdentity function

Note

The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.

Determines if a matrix is an identity matrix.

Syntax

BOOL D3DXMatrixIsIdentity(
  _In_ const D3DXMATRIX *pM
);

Parameters

pM [in]

Type: const D3DXMATRIX*

Pointer to the D3DXMATRIX structure that will be tested for identity.

Return value

Type: BOOL

If the matrix is an identity matrix, this function returns TRUE. Otherwise, this function returns FALSE.

Requirements

Requirement Value
Header
D3dx9math.h
Library
D3dx9.lib

See also

Math Functions

D3DXMatrixIdentity