| Parameter | Description |
|---|---|
| x | Input value. |
float The clamping of the input into the interval [0, 1].
Returns the result of clamping the float value x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
float2 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the float2 vector x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
float3 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the float3 vector x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
float4 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the float4 vector x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
double The clamping of the input into the interval [0, 1].
Returns the result of clamping the double value x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
double2 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the double2 vector x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
double3 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the double3 vector x into the interval [0, 1].
| Parameter | Description |
|---|---|
| x | Input value. |
double4 The componentwise clamping of the input into the interval [0, 1].
Returns the result of a componentwise clamping of the double4 vector x into the interval [0, 1].