XMVectorGetWPtr

Retrieve the w component of an XMVECTOR Data Type containing floating-point data, and storing that component’s value in an instance of float referred to by a pointer.

Syntax

void XMVectorGetWPtr(
         float *w,
         XMVECTOR V
)  

Parameters

w
Type: float *

[out]

Pointer to a float that will receive the value of the w element of the XMVECTOR Data Type object V.

V
Type: XMVECTOR 

[in]

A valid 4D vector storing floating-point data.

Return value

None.

Requirements

Header: Declared in directxmath.h.