[][src]Trait glium::backend::Facade

pub trait Facade {
    fn get_context(&self) -> &Rc<Context>;
}

Trait for types that provide a safe access for glium functions.

Required methods

fn get_context(&self) -> &Rc<Context>

Returns an opaque type that contains the OpenGL state, extensions, version, etc.

Loading content...

Implementations on Foreign Types

impl Facade for Rc<Context>[src]

Loading content...

Implementors

impl Facade for Headless[src]

impl Facade for Display[src]

Loading content...