XMLoadHalf4

Loads an XMHALF4 into an XMVECTOR.

Syntax

XMVECTOR XMLoadHalf4(
         const XMHALF4 *pSource
)  

Parameters

pSource
Type: XMHALF4 *

[in]

Address of the XMHALF4 structure to load.

Return value

Type: XMVECTOR 

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

Remarks

The four half-precision floating-point members of the XMHALF4 are converted to single-precision format and loaded into the corresponding members of the XMVECTOR.

Requirements

Header: Declared in directxpackedvector.h.