XMLoadFloat3A

Loads an XMFLOAT3A into an XMVECTOR.

Syntax

XMVECTOR XMLoadFloat3A(
         const XMFLOAT3A *pSource
)  

Parameters

pSource
Type: XMFLOAT3A *

[in]

Address of the XMFLOAT3A structure to load.

Return value

Type: XMVECTOR 

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

Remarks

The x, y, and z members of the XMFLOAT3A are loaded into the corresponding members of the returned XMVECTOR. The w member of the XMVECTOR is initialized to 0.

Requirements

Header: Declared in directxmath.h.