Operator LeftShift
LeftShift(uint2, Int32)
Returns the result of a componentwise left shift operation on a uint2 vector by a number of bits specified by a single int.
Declaration
public static uint2 operator <<(uint2 x, int n)
Parameters
Type | Name | Description |
---|---|---|
uint2 | x | The vector to left shift. |
Int32 | n | The number of bits to left shift. |
Returns
Type | Description |
---|---|
uint2 | The result of the componentwise left shift. |