XMLoadFloat4x3

Loads an XMFLOAT4X3 into an XMMATRIX.

Syntax

XMMATRIX XMLoadFloat4x3(
         const XMFLOAT4X3 *pSource
)  

Parameters

pSource
Type: XMFLOAT4X3 *

[in]

Address of the XMFLOAT4X3 structure to load. This parameter must point to cached memory.

Return value

Type: XMMATRIX 

Returns an XMMATRIX loaded with the data from the pSource parameter.

This function performs a partial load of the returned XMMATRIX. See Getting Started with DirectX Math for more information.

Remarks

XMFLOAT4X3 is a row-major form of the matrix. This function cannot be used to read column-major data since it assumes the last column is 0 0 0 1.

The members of the XMFLOAT4X3 structure (_11, _12, _13, and so on) are loaded into the corresponding members of the XMMATRIX. The remaining members of the returned XMMATRIX are 0.0f, except for _44, which is 1.0f.

Requirements

Header: Declared in directxmath.h.