XMVectorSetIntW

Set the value of the w component of an XMVECTOR Data Type.

Syntax

XMVECTOR XMVectorSetIntW(
         XMVECTOR V,
         uint32_t w
)  

Parameters

V
Type: XMVECTOR 

A valid 4D unsigned integer vector.

w
Type: uint32_t 

A unsigned integer value to be assigned to w of V.

Return value

Type: XMVECTOR 

An instance of XMVECTOR Data Type whose x component has been set to the integer value provided by the argument x to XMVectorSetIntW. All other components of the returned XMVECTOR Data Type instance have the same value as those of the input vector V.

Requirements

Header: Declared in directxmath.h.