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