Enum ComparisonKind
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Describes how new values are compared with existing values in a depth or stencil comparison.
public enum ComparisonKind : byte
Fields
Always = 7The comparison always succeeds.
Equal = 2The comparison succeeds when the new value is equal to the existing value.
Greater = 4The comparison succeeds when the new value is greater than the existing value.
GreaterEqual = 6The comparison succeeds when the new value is greater than or equal to the existing value.
Less = 1The comparison succeeds when the new value is less than the existing value.
LessEqual = 3The comparison succeeds when the new value is less than or equal to the existing value.
Never = 0The comparison never succeeds.
NotEqual = 5The comparison succeeds when the new value is not equal to the existing value.