XMStoreFloat

Stores an XMVECTOR in a float.

Syntax

void XMStoreFloat(
         float *pDestination,
         XMVECTOR V
)  

Parameters

pDestination
Type: float *

[out]

Address at which to store the data.

V
Type: XMVECTOR 

[in]

Vector containing the data to store.

Return value

None.

Remarks

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];  

Requirements

Header: Declared in directxmath.h.