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 to the specified _Min and _Max range
inline float clamp(
float _X,
float _Min,
float _Max
) restrict(amp);
inline int clamp(
int _X,
int _Min,
int _Max
) restrict(amp);
Parameters
_X
Integer value_Min
Integer value_Max
Integer value
Return Value
Returns the clamped value of _X
Requirements
Header: amp.h
Namespace: Concurrency::direct3d