XMStoreInt

Stores an XMVECTOR in a uint32_t.

Syntax

void XMStoreInt(
         uint32_t *pDestination,
         XMVECTOR V
)  

Parameters

pDestination
Type: uint32_t *

[out]

Address at which to store the data. The data pointed to by this parameter must be 4-byte aligned and reside in cached memory.

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.