XMStoreInt2A

Stores an XMVECTOR in a 16-byte aligned 2 element uint32_t array.

Syntax

void XMStoreInt2A(
         uint32_t *pDestination,
         XMVECTOR V
)  

Parameters

pDestination
Type: uint32_t *

[out]

Address at which to store the data. This address must be 16-byte aligned.

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 & 0xF) == 0);

pElement[0] = V.u[0];
pElement[1] = V.u[1];  

Requirements

Header: Declared in directxmath.h.