Synced
ShaderCompareFunction
Section titled “ShaderCompareFunction”
- Selects the comparison used by depth testing.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.Enum
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public enum Inno.Rendering.Assets.ShaderCompareFunction : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ShaderCompareFunction.Always | Always accepts the fragment. |
| Fields | ShaderCompareFunction.Equal | Accepts a fragment with an equal depth. |
| Fields | ShaderCompareFunction.Greater | Accepts a fragment with a greater depth. |
| Fields | ShaderCompareFunction.GreaterEqual | Accepts a fragment with a greater or equal depth. |
| Fields | ShaderCompareFunction.Less | Accepts a fragment with a smaller depth. |
| Fields | ShaderCompareFunction.LessEqual | Accepts a fragment with a smaller or equal depth. |
| Fields | ShaderCompareFunction.Never | Always rejects the fragment. |
| Fields | ShaderCompareFunction.NotEqual | Accepts a fragment with a different depth. |