Stores an XMVECTOR in a XMFLOAT3PK.
void XMStoreFloat3PK(
XMFLOAT3PK *pDestination,
XMVECTOR V
)
pDestination
Type: XMFLOAT3PK *
[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.
XMVECTOR N;
static const XMVECTOR Max = { 65024.f, 65024.f, 64512.f, 0 };
N = XMVectorClamp(V, XMVectorZero(), Max);
ConvertToFloat11( N.x, &pDestination->xm, &pDestination->xe);
ConvertToFloat11( N.y, &pDestination->ym, &pDestination->ye);
ConvertToFloat10( N.z, &pDestination->zm, &pDesitnation->ze);
Header: Declared in directxpackedvector.h.