Backend enum

Inheritance
Available extensions

Values

DEFAULT → const Backend

!< Automatically selects an appropriate driver for the platform.

const Backend(0)
OPENGL → const Backend

!< Selects the OpenGL/ES driver (default on Android)

const Backend(1)
VULKAN → const Backend

!< Selects the Vulkan driver if the platform supports it (default on Linux/Windows)

const Backend(2)
METAL → const Backend

!< Selects the Metal driver if the platform supports it (default on MacOS/iOS).

const Backend(3)
NOOP → const Backend

!< Selects the no-op driver for testing purposes.

const Backend(4)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) Backend

Constants

values → const List<Backend>
A constant List of the values in this enum, in order of their declaration.