Trait glium::backend::Facade

source ·
pub trait Facade {
    // Required method
    fn get_context(&self) -> &Rc<Context>;
}
Expand description

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

Required Methods§

source

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

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

Implementations on Foreign Types§

source§

impl Facade for Rc<Context>

Implementors§