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