Loads an XMUBYTE4 into an XMVECTOR.
XMVECTOR XMLoadUByte4(
const XMUBYTE4 *pSource
)
pSource
Type: XMUBYTE4 *
[in]
Address of the XMUBYTE4 structure to load.
Type: XMVECTOR
Returns an XMVECTOR loaded with the data from the pSource parameter.
The following pseudocode demonstrates the operation of the function.
XMVECTOR vectorOut;
vectorOut.x = (float)pSource->x;
vectorOut.y = (float)pSource->y;
vectorOut.z = (float)pSource->z;
vectorOut.w = (float)pSource->w;
return vectorOut;
Header: Declared in directxpackedvector.h.