XMVectorRotateRight template

Rotates the vector right by a given number of 32-bit elements.

Syntax

template<uint32_t Elements> XMVECTOR XMVectorRotateRight(
  [in]  XMVECTOR V
);

Parameters

V

[in] Vector to rotate right.

Return Value

Returns the rotated XMVECTOR.

Remarks

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

Note

The XMVectorRotateRight 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

XMVectorShiftLeft