XMMatrixMultiply function

Computes the product of two matrices.

Syntax

XMMATRIX XM_CALLCONV XMMatrixMultiply(
  FXMMATRIX M1,
  CXMMATRIX M2
);

Parameters

M1

First matrix to multiply.

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

   
Target Platform Windows
Header directxmath.h

See Also

DirectXMath Library Matrix Functions