| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
int The horizontal sum of of components of the vector.
Returns the horizontal sum of components of an int2 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
int The horizontal sum of of components of the vector.
Returns the horizontal sum of components of an int3 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
int The horizontal sum of of components of the vector.
Returns the horizontal sum of components of an int4 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
uint The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a uint2 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
uint The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a uint3 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
uint The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a uint4 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
float The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a float2 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
float The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a float3 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
float The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a float4 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
double The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a double2 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
double The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a double3 vector.
| Parameter | Description |
|---|---|
| x | The vector to use when computing the horizontal sum. |
double The horizontal sum of of components of the vector.
Returns the horizontal sum of components of a double4 vector.