Operator Equality
Equality(half4, half4)
Returns the result of a componentwise equality operation on two half4 vectors.
Declaration
public static bool4 operator ==(half4 lhs, half4 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| half4 | lhs | Left hand side half4 to use to compute componentwise equality. |
| half4 | rhs | Right hand side half4 to use to compute componentwise equality. |
Returns
| Type | Description |
|---|---|
| bool4 | bool4 result of the componentwise equality. |
Equality(half4, half)
Returns the result of a componentwise equality operation on a half4 vector and a half value.
Declaration
public static bool4 operator ==(half4 lhs, half rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| half4 | lhs | Left hand side half4 to use to compute componentwise equality. |
| half | rhs | Right hand side half to use to compute componentwise equality. |
Returns
| Type | Description |
|---|---|
| bool4 | bool4 result of the componentwise equality. |
Equality(half, half4)
Returns the result of a componentwise equality operation on a half value and a half4 vector.
Declaration
public static bool4 operator ==(half lhs, half4 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| half | lhs | Left hand side half to use to compute componentwise equality. |
| half4 | rhs | Right hand side half4 to use to compute componentwise equality. |
Returns
| Type | Description |
|---|---|
| bool4 | bool4 result of the componentwise equality. |