Version: 2022.3
言語: 日本語

CompareFunction

enumeration

マニュアルに切り替える

説明

デプスやステンシルの比較関数

変数

Disabledデプスやステンシルテストが無効
Neverデプスやステンシルテストをパスしない。
LessPass depth or stencil test when new value is less than current value.
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.
NotEqual値が異なるとき、デプスやステンシルテストをパス
GreaterEqualPass depth or stencil test when new value is greater or equal than current value.
Alwaysデプスやステンシルテストを常にパス