[][src]Trait gfx_app::ApplicationBase

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, _: WindowEvent);
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>, 

fn render<D>(&mut self, _: &mut D) where
    D: Device<Resources = R, CommandBuffer = C>, 

fn get_exit_key() -> Option<VirtualKeyCode>

fn on(&mut self, _: WindowEvent)

fn on_resize<F>(&mut self, _: &mut F, _: WindowTargets<R>) where
    F: Factory<R, CommandBuffer = C>, 

Loading content...

Implementors

impl<R, C, A> ApplicationBase<R, C> for Wrap<R, C, A> where
    R: Resources,
    C: CommandBuffer<R>,
    A: Application<R>, 
[src]

Loading content...