docs/android/dokka/filament-android/com.google.android.filament/-engine/-gpu-context-priority/index.md
//filament-android/com.google.android.filament/Engine/GpuContextPriority
[main]
enum GpuContextPriority
This controls the priority level for GPU work scheduling, which helps prioritize the submitted GPU work and enables preemption.
| DEFAULT | [main] |
| DEFAULT | |
| Backend default GPU context priority (typically MEDIUM) | |
| LOW | [main] |
| LOW | |
| For non-interactive, deferrable workloads. This should not interfere with standard applications. | |
| MEDIUM | [main] |
| MEDIUM | |
| The default priority level for standard applications. | |
| HIGH | [main] |
| HIGH | |
| For high-priority, latency-sensitive workloads that are more important than standard applications. | |
| REALTIME | [main] |
| REALTIME | |
| The highest priority, intended for system-critical, real-time applications where missing deadlines is unacceptable (e.g., VR/AR compositors or other system-critical tasks). |
| Name | Summary |
|---|---|
| valueOf | [main] |
| open fun valueOf(name: String): Engine.GpuContextPriority | |
| 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.GpuContextPriority> | |
| 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. |