Expand description
GPU.2 — headless device + queue for tests and offline tools.
Stands up a wgpu device with no surface — the surface is the only
part of GpuRenderer that needs a host window handle. Tests that
exercise the
decompressed-chunk upload + read-back path want neither a window
nor a swapchain; this module exposes that bare device.
Same GpuInitError surface as GpuRenderer::new so callers can
share the fall-back-to-CPU pattern.
Structs§
- Headless
Gpu - Bare wgpu device + queue with no surface. Suitable for
wgpu::ComputePasswork that doesn’t present.