ShaderBackend enum Debugging and profiling

A rendering backend a shader bundle can carry compiled output for.

Inheritance
Available extensions

Values

metalIos → const ShaderBackend
metalDesktop → const ShaderBackend
openglEs → const ShaderBackend
openglDesktop → const ShaderBackend
vulkan → const ShaderBackend

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isTextual → bool
Whether this backend's compiled output is source text (MSL, GLSL) rather than SPIR-V bytes.
no setter
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

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

forCurrentPlatform() → List<ShaderBackend>
The backends the running platform can use, most likely first. The engine picks among them at startup and does not report its choice, so a caller wanting one backend's source takes the first that the bundle holds.

Constants

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