Skip to main content

wgpu_active

Function wgpu_active 

Source
pub fn wgpu_active() -> bool
Expand description

Is the active backend wgpu (discrete Vulkan/DX12)? The wgpu whole-token graph defaults on this — NOT on plain enabled(), so macOS/Metal decode does not pay a per-token layer-scan for a graph that its backend will refuse anyway.