Back to Filament

CompilerPriorityQueue

docs/android/dokka/filament-android/com.google.android.filament/-material/-compiler-priority-queue/index.md

1.75.01.8 KB
Original Source

//filament-android/com.google.android.filament/Material/CompilerPriorityQueue

CompilerPriorityQueue

[main]
enum CompilerPriorityQueue

Shader compiler priority queue On platforms which support parallel shader compilation, compilation requests will be processed in order of priority, then insertion order. See compile.

Entries

CRITICAL[main]
CRITICAL
We need this program NOW. When passed as an argument to compile, if the platform doesn't support parallel compilation, but does support amortized shader compilation, the given shader program will be synchronously compiled.
HIGH[main]
HIGH
We will need this program soon.
LOW[main]
LOW
We will need this program eventually.

Functions

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