Computes the absolute value of each component of an XMVECTOR.
XMVECTOR XMVectorAbs(
XMVECTOR V
)
V
Type: XMVECTOR
Vector for which to compute the absolute value.
Type: XMVECTOR
Returns a vector whose components are the absolute value of the corresponding components of V.
Header: Declared in directxmath.h.