[][src]Function directx_math::XMVectorSplatZ

pub fn XMVectorSplatZ(V: FXMVECTOR) -> XMVECTOR

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

Parameters

V Vector from which to select the z component.

Return value

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

Reference

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