Show / Hide Table of Contents

Enum ComparisonKind

Describes how new values are compared with existing values in a depth or stencil comparison.

Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public enum ComparisonKind : byte

Fields

Name Description
Always

The comparison always succeeds.

Equal

The comparison succeeds when the new value is equal to the existing value.

Greater

The comparison succeeds when the new value is greater than the existing value.

GreaterEqual

The comparison succeeds when the new value is greater than or equal to the existing value.

Less

The comparison succeeds when the new value is less than the existing value.

LessEqual

The comparison succeeds when the new value is less than or equal to the existing value.

Never

The comparison never succeeds.

NotEqual

The comparison succeeds when the new value is not equal to the existing value.

Back to top