use super::*;
#[derive(CustomDebug)]
pub struct GameRenderContext<'a> {
pub(crate) bounds: Rect,
#[debug(skip)]
pub(crate) display_list: &'a mut DisplayList,
pub(crate) gpu_composite: Option<GpuCompositeDescriptor>,
}
#[derive(Clone, CustomDebug, Data)]
pub struct GameEngineHost {
pub(crate) clock: Rc<RefCell<FrameClock>>,
pub(crate) input: Rc<RefCell<InputState>>,
#[debug(skip)]
#[get(skip)]
pub(crate) scene: Rc<RefCell<dyn GameScene>>,
#[debug(skip)]
pub(crate) viewport_nodes: Rc<RefCell<Vec<(SceneHandle, NodeId)>>>,
#[debug(skip)]
#[get(pub(crate))]
#[get_mut(skip)]
#[set(skip)]
pub(crate) last_gpu_composite: Rc<RefCell<Option<GpuCompositeDescriptor>>>,
#[debug(skip)]
#[get_mut(skip)]
#[set(skip)]
pub(crate) paused: Rc<Cell<bool>>,
}