MTLCompareFunction
Options used to specify how a sample compare operation should be performed on a depth texture.
Declaration
enum MTLCompareFunctionOverview
Whenever the comparison test passes, the incoming fragment is compared to the stored data at the specified location.
Topics
Compare function options
MTLCompareFunction.neverMTLCompareFunction.lessMTLCompareFunction.equalMTLCompareFunction.lessEqualMTLCompareFunction.greaterMTLCompareFunction.notEqualMTLCompareFunction.greaterEqualMTLCompareFunction.always