Table of Contents

Enum ComparisonKind

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

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

public enum ComparisonKind : byte

Fields

Always = 7

The comparison always succeeds.

Equal = 2

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

Greater = 4

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

GreaterEqual = 6

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

Less = 1

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

LessEqual = 3

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

Never = 0

The comparison never succeeds.

NotEqual = 5

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