XMVectorSetIntXPtr
Sets the x component of an XMVECTOR containing integer data, with a value contained in an instance of UINT referred to by a pointer.
Syntax
XMVECTOR XMVectorSetIntXPtr(
XMVECTOR V,
CONST UINT *x
)
Parameters
- V
A valid 4D vector storing integer data. - x
[in] Pointer to a UINT containing the value to be stored in the x element of the XMVECTOR Data Type object V.
Return Value
An instance of XMVECTOR Data Type whose x component has been set to the integer value pointed to by the argument x of XMVectorSetIntXPtr. All other components of the returned XMVECTOR Data Type instance have the same value as those of the input vector V.
Remarks
When targeting the Xbox 360, XMVectorSetIntXPtr may be more efficient than using XMVectorSetIntX, which may generate a Load/Hit/Store event.
Requirements
Header: Declared in xnamath.h.