Trait gfx_app::ApplicationBase
[−]
[src]
pub trait ApplicationBase<R: Resources, C: CommandBuffer<R>> { fn new<F>(_: &mut F, _: Backend, _: WindowTargets<R>) -> Self
where
F: Factory<R, CommandBuffer = C>; fn render<D>(&mut self, _: &mut D)
where
D: Device<Resources = R, CommandBuffer = C>; fn get_exit_key() -> Option<VirtualKeyCode>; fn on(&mut self, _: Event); fn on_resize<F>(&mut self, _: &mut F, _: WindowTargets<R>)
where
F: Factory<R, CommandBuffer = C>; }
Required Methods
fn new<F>(_: &mut F, _: Backend, _: WindowTargets<R>) -> Self where
F: Factory<R, CommandBuffer = C>,
F: Factory<R, CommandBuffer = C>,
fn render<D>(&mut self, _: &mut D) where
D: Device<Resources = R, CommandBuffer = C>,
D: Device<Resources = R, CommandBuffer = C>,
fn get_exit_key() -> Option<VirtualKeyCode>
fn on(&mut self, _: Event)
fn on_resize<F>(&mut self, _: &mut F, _: WindowTargets<R>) where
F: Factory<R, CommandBuffer = C>,
F: Factory<R, CommandBuffer = C>,
Implementors
impl<R, C, A> ApplicationBase<R, C> for Wrap<R, C, A> where
R: Resources,
C: CommandBuffer<R>,
A: Application<R>,