Back to Filament

CompareMode

docs/android/dokka/filament-android/com.google.android.filament/-texture-sampler/-compare-mode/index.md

1.75.01.2 KB
Original Source

//filament-android/com.google.android.filament/TextureSampler/CompareMode

CompareMode

[main]
enum CompareMode

Entries

NONE[main]
NONE
COMPARE_TO_TEXTURE[main]
COMPARE_TO_TEXTURE

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): TextureSampler.CompareMode
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[main]
open fun values(): Array<TextureSampler.CompareMode>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.