RendererMode class
Rendering backend selection. See GUI.md and TUI.md. AUTO (0): Engine picks CPU or GPU based on host capabilities. CPU (1): Renders into a host-owned RGBA buffer (most portable). GPU (2): Renders via wgpu; backend is selected by wgpu/OS. GPU_VULKAN (3): Force Vulkan when available. GPU_GLES (4): Force the wgpu GL backend (legacy name; OpenGL/OpenGL ES). TUI (5): Terminal mode — renders ANSI escape sequences. GPU_DX12 (6): Force Direct3D 12 when available. GPU_METAL (7): Force Metal when available. GPU_OPENGL (8): Force the wgpu GL backend (desktop OpenGL/OpenGL ES). GPU modes require GpuSurfaceReady; hosts switch to CPU explicitly.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → RendererMode?
Constants
- RENDERER_AUTO → const RendererMode
- RENDERER_CPU → const RendererMode
- RENDERER_GPU → const RendererMode
- RENDERER_GPU_DX12 → const RendererMode
- RENDERER_GPU_GLES → const RendererMode
- RENDERER_GPU_METAL → const RendererMode
- RENDERER_GPU_OPENGL → const RendererMode
- RENDERER_GPU_VULKAN → const RendererMode
- RENDERER_TUI → const RendererMode
-
values
→ const List<
RendererMode>