Enum CompareFunctionValue
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
A depth- or stencil-test comparison function (mirrors MonoGame's CompareFunction ordinals).
public enum CompareFunctionValue
Fields
Always = 0The test always passes.
Equal = 4Pass when the new value equals the stored value.
Greater = 6Pass when the new value is greater than the stored value.
GreaterEqual = 5Pass when the new value is greater than or equal to the stored value.
Less = 2Pass when the new value is less than the stored value.
LessEqual = 3Pass when the new value is less than or equal to the stored value.
Never = 1The test never passes.
NotEqual = 7Pass when the new value does not equal the stored value.