Back to Filament

WrapMode

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

1.75.01.5 KB
Original Source

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

WrapMode

[main]
enum WrapMode

Entries

CLAMP_TO_EDGE[main]
CLAMP_TO_EDGE
The edge of the texture extends to infinity.
REPEAT[main]
REPEAT
The texture infinitely repeats in the wrap direction.
MIRRORED_REPEAT[main]
MIRRORED_REPEAT
The texture infinitely repeats and mirrors in the wrap direction.

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): TextureSampler.WrapMode
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.WrapMode>
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.