pub trait MainThreadSession: 'static {
    // Required methods
    fn run_one_frame(&mut self);
    fn running(&self) -> bool;
}
Expand description

Devices that need to can run sessions on the main thread.

Required Methods§

source

fn run_one_frame(&mut self)

source

fn running(&self) -> bool

Implementors§

source§

impl<Device> MainThreadSession for SessionThread<Device>where Device: DeviceAPI,