Loads a scalar value into an XMVECTOR.
XMVECTOR XMLoadInt(
const uint32_t *pSource
)
pSource
Type: uint32_t *
[in]
Address of the scalar data to load.
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.
To convert the loaded XMVECTOR into float values, use XMConvertVectorUIntToFloat or XMConvertVectorIntToFloat.
Header: Declared in directxmath.h.