Export (0) Print
Expand All

smoothstep Function

Returns a smooth Hermite interpolation between 0 and 1, if _X is in the range [_Min, _Max].

inline float smoothstep(
   float _Min,
   float _Max,
   float _X
) restrict(amp);

_Min

Floating-point value

_Max

Floating-point value

_X

Floating-point value

Returns 0 if _X is less than _Min; 1 if _X is greater than _Max; otherwise, a value between 0 and 1 if _X is in the range [_Min, _Max]

Header: amp.h

Namespace: Concurrency::direct3d

Show:
© 2014 Microsoft