Operator ExclusiveOr
ExclusiveOr(uint2, uint2)
Returns the result of a componentwise bitwise exclusive or operation on two uint2 vectors.
Declaration
public static uint2 operator ^(uint2 lhs, uint2 rhs)
Parameters
Type | Name | Description |
---|---|---|
uint2 | lhs | Left hand side uint2 to use to compute componentwise bitwise exclusive or. |
uint2 | rhs | Right hand side uint2 to use to compute componentwise bitwise exclusive or. |
Returns
Type | Description |
---|---|
uint2 | uint2 result of the componentwise bitwise exclusive or. |
ExclusiveOr(uint2, UInt32)
Returns the result of a componentwise bitwise exclusive or operation on a uint2 vector and a uint value.
Declaration
public static uint2 operator ^(uint2 lhs, uint rhs)
Parameters
Type | Name | Description |
---|---|---|
uint2 | lhs | Left hand side uint2 to use to compute componentwise bitwise exclusive or. |
UInt32 | rhs | Right hand side uint to use to compute componentwise bitwise exclusive or. |
Returns
Type | Description |
---|---|
uint2 | uint2 result of the componentwise bitwise exclusive or. |
ExclusiveOr(UInt32, uint2)
Returns the result of a componentwise bitwise exclusive or operation on a uint value and a uint2 vector.
Declaration
public static uint2 operator ^(uint lhs, uint2 rhs)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | lhs | Left hand side uint to use to compute componentwise bitwise exclusive or. |
uint2 | rhs | Right hand side uint2 to use to compute componentwise bitwise exclusive or. |
Returns
Type | Description |
---|---|
uint2 | uint2 result of the componentwise bitwise exclusive or. |