Fix awkward mouse conflict issues between egui and the engine
This commit is contained in:
parent
f5a16213fa
commit
8041c7e01d
6 changed files with 53 additions and 4 deletions
|
|
@ -10,6 +10,7 @@ use raidillon_core::{define_typemap, EguiQueue};
|
|||
use raidillon_core::scene::Scene;
|
||||
use glam::Vec3;
|
||||
use winit::event_loop::EventLoop;
|
||||
use std::cell::Cell;
|
||||
|
||||
pub struct RenderingContext<'a> {
|
||||
pub scene: &'a Scene,
|
||||
|
|
@ -19,6 +20,7 @@ pub struct RenderingContext<'a> {
|
|||
pub asset_manager: ModelManagerRef,
|
||||
pub egui_queue: Rc<RefCell<EguiQueue>>,
|
||||
pub env_light_dir: Vec3,
|
||||
pub should_egui_receive_input_events: Rc<Cell<bool>>
|
||||
}
|
||||
|
||||
/// The internal "rendering system" trait of glium_platform.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue