[][src]Function directx_math::XMVectorSplatX

pub fn XMVectorSplatX(V: FXMVECTOR) -> XMVECTOR

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

Parameters

V Vector from which to select the x component.

Return value

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

Reference

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