Function directx_math::XMVectorSplatW[][src]

pub fn XMVectorSplatW(V: FXMVECTOR) -> XMVECTOR

Replicates the w component of a vector to all of the components.

Parameters

V Vector from which to select the w component.

Return value

Returns a vector, all of whose components are equal to the w component of V.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorSplatW