Back to Filament

Backend

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

1.75.01.8 KB
Original Source

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

Backend

[main]
enum Backend

Denotes a backend

Entries

DEFAULT[main]
DEFAULT
Automatically selects an appropriate driver for the platform.
OPENGL[main]
OPENGL
Selects the OpenGL driver (which supports OpenGL ES as well).
VULKAN[main]
VULKAN
Selects the Vulkan driver if the platform supports it.
METAL[main]
METAL
Selects the Metal driver if the platform supports it.
WEBGPU[main]
WEBGPU
Select the WebGPU driver if platform supports it.
NOOP[main]
NOOP
Selects the no-op driver for testing purposes.

Functions

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