Back to Filament

Swizzle

docs/android/dokka/filament-android/com.google.android.filament/-texture/-swizzle/index.md

1.75.01.6 KB
Original Source

//filament-android/com.google.android.filament/Texture/Swizzle

Swizzle

[main]
enum Swizzle

Texture swizzling channels

Entries

SUBSTITUTE_ZERO[main]
SUBSTITUTE_ZERO
SUBSTITUTE_ONE[main]
SUBSTITUTE_ONE
CHANNEL_0[main]
CHANNEL_0
CHANNEL_1[main]
CHANNEL_1
CHANNEL_2[main]
CHANNEL_2
CHANNEL_3[main]
CHANNEL_3

Functions

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