pub fn gpu_debug_enabled() -> boolExpand description
Returns whether stderr GPU diagnostics are enabled.
AILLOLI_UI_GPU_DEBUG=1 or true enables diagnostics. The legacy
OCTAVUI_GPU_DEBUG variable is consulted only when the primary variable is
unset.
ยงExamples
use ailloli_ui_render_wgpu::pipeline_cache::gpu_debug_enabled;
let enabled: bool = gpu_debug_enabled();
let _ = enabled;