Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Selects the comparison used by depth testing.

API: engine
Inherits: System.Enum
Project: Inno.Rendering.Assets

public enum Inno.Rendering.Assets.ShaderCompareFunction : int
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.