XMLoadInt

Loads a scalar value into an XMVECTOR.

Syntax

XMVECTOR XMLoadInt(
         const uint32_t *pSource
)  

Parameters

pSource
Type: uint32_t *

[in]

Address of the scalar data to load.

Return value

Type: XMVECTOR 

Returns an XMVECTORI whose x member is loaded with the data from the pSource parameter. The other components of the returned vector will be initialized to 0.

Remarks

To convert the loaded XMVECTOR into float values, use XMConvertVectorUIntToFloat or XMConvertVectorIntToFloat.

Requirements

Header: Declared in directxmath.h.