Enumeration Case

MTLCompareFunction.less

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

Declaration

case less = 1

See Also

Compare function options

case never

A new value never passes the comparison test.

case equal

A new value passes the comparison test if it is equal to 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software