MTLCompareFunction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |