raidillon/core/src/context.rs

14 lines
366 B
Rust

use std::cell::RefCell;
use std::rc::Rc;
use std::sync::Arc;
use winit::{event::Event, window::Window};
use raidillon_assets::{ModelManagerRef, ModelManager};
#[derive(Clone)]
pub struct PlatformContext {
pub current_event: Event<()>,
pub asset_manager: ModelManagerRef,
pub frame_width: f32,
pub frame_height: f32,
// pub window: &'a Window,
}