pub fn apply_vibrancy(
    window: impl HasRawWindowHandle,
    effect: NSVisualEffectMaterial,
    state: Option<NSVisualEffectState>,
    radius: Option<f64>
) -> Result<(), Error>
Expand description

Applies macos vibrancy effect to window. Works only on macOS 10.10 or newer.

Platform-specific

  • Linux / Windows: Unsupported.