Operator Addition
Addition(uint4, uint4)
Returns the result of a componentwise addition operation on two uint4 vectors.
Declaration
public static uint4 operator +(uint4 lhs, uint4 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| uint4 | lhs | Left hand side uint4 to use to compute componentwise addition. |
| uint4 | rhs | Right hand side uint4 to use to compute componentwise addition. |
Returns
| Type | Description |
|---|---|
| uint4 | uint4 result of the componentwise addition. |
Addition(uint4, UInt32)
Returns the result of a componentwise addition operation on a uint4 vector and a uint value.
Declaration
public static uint4 operator +(uint4 lhs, uint rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| uint4 | lhs | Left hand side uint4 to use to compute componentwise addition. |
| UInt32 | rhs | Right hand side uint to use to compute componentwise addition. |
Returns
| Type | Description |
|---|---|
| uint4 | uint4 result of the componentwise addition. |
Addition(UInt32, uint4)
Returns the result of a componentwise addition operation on a uint value and a uint4 vector.
Declaration
public static uint4 operator +(uint lhs, uint4 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | lhs | Left hand side uint to use to compute componentwise addition. |
| uint4 | rhs | Right hand side uint4 to use to compute componentwise addition. |
Returns
| Type | Description |
|---|---|
| uint4 | uint4 result of the componentwise addition. |