Edit

Share via


MTLCompareFunction Enum

Definition

Holds a comparison test. When the comparison test passes, the incoming fragment is compared to the stored data at the specified location.

public enum MTLCompareFunction
type MTLCompareFunction = 
Inheritance
MTLCompareFunction

Fields

Name Value Description
Never 0
Less 1
Equal 2
LessEqual 3
Greater 4
NotEqual 5
GreaterEqual 6
Always 7

Applies to