pub fn init_gpu() -> Option<GpuState>Expand description
Initialise the wgpu device and queue, returning a ready-to-use GpuState.
Uses the default backend (Vulkan, Metal, DX12) with low power preference.
Returns None if no suitable adapter is found.