CompareFunction enum

The test a depth or stencil comparison performs.

Inheritance
Available extensions

Values

never → const CompareFunction

Never passes.

always → const CompareFunction

Always passes.

less → const CompareFunction

Passes if new_value < current_value.

equal → const CompareFunction

Passes if new_value == current_value.

lessEqual → const CompareFunction

Passes if new_value <= current_value.

greater → const CompareFunction

Passes if new_value > current_value.

notEqual → const CompareFunction

Passes if new_value != current_value.

greaterEqual → const CompareFunction

Passes if new_value >= current_value.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<CompareFunction>
A constant List of the values in this enum, in order of their declaration.