| Parameter | Description |
|---|---|
| threshold | Value to be used as a threshold for returning 1. |
| x | Value to compare against threshold. |
float 1 if the comparison x >= threshold is true, otherwise 0.
Returns the result of a step function where the result is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
float2 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
float3 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
float4 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Values to be used as a threshold for returning 1. |
| x | Value to compare against threshold. |
double 1 if the comparison x >= threshold is true, otherwise 0.
Returns the result of a step function where the result is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
double2 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
double3 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.
| Parameter | Description |
|---|---|
| threshold | Vector of values to be used as a threshold for returning 1. |
| x | Vector of values to compare against threshold. |
double4 1 if the componentwise comparison x >= threshold is true, otherwise 0.
Returns the result of a componentwise step function where each component is 1.0f when x >= threshold and 0.0f otherwise.