[][src]Function directx_math::XMVectorSaturate

pub fn XMVectorSaturate(V: FXMVECTOR) -> XMVECTOR

Saturates each component of a vector to the range 0.0f to 1.0f.

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