XMMatrixMultiply function (directxmath.h)

Computes the product of two matrices.

Syntax

XMMATRIX XM_CALLCONV XMMatrixMultiply(
  [in] FXMMATRIX M1,
  [in] CXMMATRIX M2
) noexcept;

Parameters

[in] M1

First matrix to multiply.

[in] M2

Second matrix to multiply.

Return value

Returns the product of M1 and M2.

Remarks

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Requirement Value
Target Platform Windows
Header directxmath.h

See also

DirectXMath Library Matrix Functions