Loads a floating-point scalar value into an XMVECTOR.
XMVECTOR XMLoadFloat(
const float *pSource
)
pSource
Type: float *
[in]
Address of the scalar data to load. The data pointed to by this parameter must be 4-byte aligned and reside in cached memory.
Type: XMVECTOR
Returns an XMVECTOR whose x member is loaded with the data from the pSource parameter. The other components of the returned vector will be initialized to 0.
Header: Declared in directxmath.h.