XMVectorInsert

Rotates a vector left by a given number of 32-bit components and insert selected elements of that result into another vector.

Overload list

Name Description
XMVectorInsert (XMVECTOR, XMVECTOR) Rotates a vector left by a given number of 32-bit components and insert selected elements of that result into another vector.
XMVectorInsert (XMVECTOR, XMVECTOR, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t) Rotates a vector left by a given number of 32-bit components and insert selected elements of that result into another vector.

Remarks

For best performance, the result of XMVectorInsert should be assigned back to VD.

For cases with constant uint32_t parameters, it is more efficient to use the template form of XMVectorInsert:

template<uint32_t VSLeftRotateElements, uint32_t Select0, uint32_t Select1, uint32_t Select2, uint32_t Select3>
XMVECTOR XMVectorInsert(FXMVECTOR VD, FXMVECTOR VS)