Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Clamps _X within the range of 0 to 1
inline float saturate(
float _X
) restrict(amp);
Parameters
- _X
Floating-point value
Return Value
Returns _X clamped within the range of 0 to 1
Requirements
Header: amp.h
Namespace: Concurrency::direct3d