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