XMVectorShiftLeft template

Shifts a vector left by a given number of 32-bit elements, filling the vacated elements with elements from a second vector.

Syntax

template<uint32_t Elements> XMVECTOR XMVectorShiftLeft(
  [in]  XMVECTOR V1,
  [in]  XMVECTOR V2
);

Parameters

V1

[in] Vector to shift left.

V2

[in] Vector used to fill in the vacated components of V1 after it is shifted left.

Return Value

Returns the shifted and filled in XMVECTOR.

Remarks

This function is a template version of XMVectorShiftLeft where the Elements argument is a template value.

Note

The XMVectorShiftLeft template is new for DirectXMath and is not available for XNAMath 2.x.

 

Namespace: Use DirectX

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Requirement Value
Header
DirectXMath.h

See also

DirectXMath Library Template Functions

XMVectorPermute

XMVectorRotateLeft

XMVectorRotateRight