XMLoadFloat3x4 function (directxmath.h)

Loads an XMFLOAT3X4 into an XMMATRIX.

Syntax

XMMATRIX XM_CALLCONV XMLoadFloat3x4(
  const XMFLOAT3X4 *pSource
) noexcept;

Parameters

pSource

Type: const XMFLOAT3X4 *

Pointer to the constant XMFLOAT3X4 structure to load. This argument must point to cached memory.

Return value

Type: XMMATRIX

An XMMATRIX loaded with the data from the pSource argument.

This function performs a partial load of the returned XMMATRIX. For more info, see Getting started (DirectXMath).

Remarks

XMFLOAT3X4 is a row-major form of the matrix. XMLoadFloat3x4 could be used to read column-major data, but that would then need to be transposed with XMMatrixTranspose before use in other XMMATRIX functions.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header directxmath.h

See also

DirectXMath Library vector load functions