Back to Filament

FeatureLevel

docs/android/dokka/filament-android/com.google.android.filament/-engine/-feature-level/index.md

1.75.01.7 KB
Original Source

//filament-android/com.google.android.filament/Engine/FeatureLevel

FeatureLevel

[main]
enum FeatureLevel

Defines the backend's feature levels.

Entries

FEATURE_LEVEL_0[main]
FEATURE_LEVEL_0
Reserved, don't use
FEATURE_LEVEL_1[main]
FEATURE_LEVEL_1
OpenGL ES 3.0 features (default)
FEATURE_LEVEL_2[main]
FEATURE_LEVEL_2
OpenGL ES 3.1 features + 16 textures units + cubemap arrays
FEATURE_LEVEL_3[main]
FEATURE_LEVEL_3
OpenGL ES 3.1 features + 31 textures units + cubemap arrays

Functions

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