XMLoadFloat2A

Loads an XMFLOAT2A into an XMVECTOR.

Syntax

XMVECTOR XMLoadFloat2A(
         const XMFLOAT2A *pSource
)  

Parameters

pSource
Type: XMFLOAT2A *

[in]

Address of the XMFLOAT2A structure to load.

Return value

Type: XMVECTOR 

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

Remarks

The x and y members of the XMFLOAT2A are loaded into the corresponding members of the XMVECTOR. The z and w members of the returned XMVECTOR will be initialized to 0.

Requirements

Header: Declared in directxmath.h.