Gorgon
Show / Hide Table of Contents

Enum Comparison

Defines a type of comparison to perform for a comparison operation (e.g. depth compare).

Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public enum Comparison

Fields

Name Description
Always

Always pass the comparison.

Equal

If the source data is equal to the destination data, the comparison passes.

Greater

If the source data is greater than the destination data, the comparison passes.

GreaterEqual

If the source data is greater than or equal to the destination data, the comparison passes.

Less

If the source data is less than the destination data, the comparison passes.

LessEqual

If the source data is less than or equal to the destination data, the comparison passes.

Never

Never pass the comparison.

NotEqual

If the source data is not equal to the destination data, the comparison passes.

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author