step Function

Compares two values, returning 0 or 1 based on which value is greater

inline float step(
   float _Y,
   float _X
) restrict(amp);

Parameters

  • _Y
    Floating-point value

  • _X
    Floating-point value

Return Value

Returns 1 if the _X is greater than or equal to _Y; otherwise, 0

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace