Back to Filament

Sampler

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

1.75.01.7 KB
Original Source

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

Sampler

[main]
enum Sampler

Type of sampler

Entries

SAMPLER_2D[main]
SAMPLER_2D
2D sampler
SAMPLER_2D_ARRAY[main]
SAMPLER_2D_ARRAY
2D array sampler
SAMPLER_CUBEMAP[main]
SAMPLER_CUBEMAP
Cubemap sampler
SAMPLER_EXTERNAL[main]
SAMPLER_EXTERNAL
External texture sampler
SAMPLER_3D[main]
SAMPLER_3D
3D sampler

Functions

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