This version of Unity is unsupported.

CompareFunction

enumeration

Description

Depth or stencil comparison function.

Properties

DisabledDepth or stencil test is disabled.
NeverNever pass depth or stencil test.
LessPass depth or stencil test when new value is less than current value.
EqualPass depth or stencil test when values are equal.
LessEqualPass depth or stencil test when new value is less or equal than current value.
GreaterPass depth or stencil test when new value is greater than current value.
NotEqualPass depth or stencil test when values are different.
GreaterEqualPass depth or stencil test when new value is greater or equal than current value.
AlwaysAlways pass depth or stencil test.