Operator operator <<
operator <<(int2, int)
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. |
int | n | The number of bits to left shift. |
Returns
Type | Description |
---|---|
int2 | The result of the componentwise left shift. |