ドキュメント

Unity Engine

Unity Engine

CompareFunction

Depth or stencil comparison function.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public enum CompareFunction

Fields

Value

Description

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