| Parameter | Description |
|---|---|
| x | Input value. |
float The round to nearest integral value of the input.
Returns the result of rounding a float value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
float2 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a float2 vector value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
float3 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a float3 vector value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
float4 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a float4 vector value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
double The round to nearest integral value of the input.
Returns the result of rounding a double value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
double2 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a double2 vector value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
double3 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a double3 vector value to the nearest integral value.
| Parameter | Description |
|---|---|
| x | Input value. |
double4 The componentwise round to nearest integral value of the input.
Returns the result of rounding each component of a double4 vector value to the nearest integral value.