Stores an XMVECTOR in a float.
void XMStoreFloat(
float *pDestination,
XMVECTOR V
)
pDestination
Type: float *
[out]
Address at which to store the data.
V
Type: XMVECTOR
[in]
Vector containing the data to store.
The following pseudocode demonstrates the operation of the function.
uint32_t* pElement = (uint32_t*)pDestination;
assert(pDestination);
assert(((uint32_t_PTR)pDestination & 3) == 0);
*pElement = V.u[0];
Header: Declared in directxmath.h.