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