XMVectorRound

Rounds each component of a vector to the nearest integer.

Syntax

XMVECTOR XMVectorRound(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector whose components should be rounded.

Return value

Type: XMVECTOR 

Returns a vector, each of whose components are rounded to the nearest integer.

Requirements

Header: Declared in directxmath.h.