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