| Parameter | Description |
|---|---|
| x | The constructed vector's x component will be set to this value. |
| y | The constructed vector's y component will be set to this value. |
Constructs a uint2 vector from two uint values.
| Parameter | Description |
|---|---|
| xy | The constructed vector's xy components will be set to this value. |
Constructs a uint2 vector from a uint2 vector.
| Parameter | Description |
|---|---|
| v | uint to convert to uint2 |
Constructs a uint2 vector from a single uint value by assigning it to every component.
| Parameter | Description |
|---|---|
| v | bool to convert to uint2 |
Constructs a uint2 vector from a single bool value by converting it to uint and assigning it to every component.
| Parameter | Description |
|---|---|
| v | bool2 to convert to uint2 |
Constructs a uint2 vector from a bool2 vector by componentwise conversion.
| Parameter | Description |
|---|---|
| v | int to convert to uint2 |
Constructs a uint2 vector from a single int value by converting it to uint and assigning it to every component.
| Parameter | Description |
|---|---|
| v | int2 to convert to uint2 |
Constructs a uint2 vector from a int2 vector by componentwise conversion.
| Parameter | Description |
|---|---|
| v | float to convert to uint2 |
Constructs a uint2 vector from a single float value by converting it to uint and assigning it to every component.
| Parameter | Description |
|---|---|
| v | float2 to convert to uint2 |
Constructs a uint2 vector from a float2 vector by componentwise conversion.
| Parameter | Description |
|---|---|
| v | double to convert to uint2 |
Constructs a uint2 vector from a single double value by converting it to uint and assigning it to every component.
| Parameter | Description |
|---|---|
| v | double2 to convert to uint2 |
Constructs a uint2 vector from a double2 vector by componentwise conversion.