Table of Contents

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 = 0

The test always passes.

Equal = 4

Pass when the new value equals the stored value.

Greater = 6

Pass when the new value is greater than the stored value.

GreaterEqual = 5

Pass when the new value is greater than or equal to the stored value.

Less = 2

Pass when the new value is less than the stored value.

LessEqual = 3

Pass when the new value is less than or equal to the stored value.

Never = 1

The test never passes.

NotEqual = 7

Pass when the new value does not equal the stored value.