Function stencil_aa_enabled

Source
pub fn stencil_aa_enabled() -> bool
Expand description

Shader AA band on stencil edges (on by default). Set AILLOLI_UI_STENCIL_AA=0; OCTAVUI_STENCIL_AA is a legacy fallback. The primary variable wins when both are set; only 0 and case-insensitive false disable the band.

ยงExamples

use ailloli_ui_render_wgpu::clip::stencil_aa_enabled;
let enabled: bool = stencil_aa_enabled();
let _ = enabled; // The environment controls the value.