rafx-plugins 0.0.16

Rendering framework built on an extensible asset pipeline
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::features::egui::internal::EguiManager;

/// Lightweight access to just the egui context (used to add UI elements)
pub struct EguiContextResource {
    pub(super) egui_manager: EguiManager,
}

impl EguiContextResource {
    pub fn context(&self) -> egui::CtxRef {
        self.egui_manager.context()
    }
}