Enumeration Case

MTLCompareFunction.equal

A new value passes the comparison test if it is equal to the existing value.

Declaration

case equal = 2

See Also

Compare function options

case never

A new value never passes the comparison test.

case less

A new value passes the comparison test if it is less than the existing value.

case lessEqual

A new value passes the comparison test if it is less than or equal to the existing value.

case greater

A new value passes the comparison test if it is greater than the existing value.

case notEqual

A new value passes the comparison test if it is not equal to the existing value.

case greaterEqual

A new value passes the comparison test if it is greater than or equal to the existing value.

case always

A new value always passes the comparison test.