Export (0) Print
Expand All

saturate Function

Clamps _X within the range of 0 to 1

inline float saturate(
   float _X
) restrict(amp);

_X

Floating-point value

Returns _X clamped within the range of 0 to 1

Header: amp.h

Namespace: Concurrency::direct3d

Show:
© 2015 Microsoft