Struct glium::backend::glutin_backend::GlutinWindowBackend [] [src]

pub struct GlutinWindowBackend {
    // some fields omitted
}

An implementation of the Backend trait for a glutin window.

Methods

impl GlutinWindowBackend

fn new(builder: WindowBuilder) -> Result<GlutinWindowBackend, GliumCreationError<CreationError>>

Builds a new backend from the builder.

fn get_window(&self) -> &Window

fn poll_events(&self) -> PollEventsIterator

fn wait_events(&self) -> WaitEventsIterator

fn rebuild(&self, builder: WindowBuilder) -> Result<GlutinWindowBackend, GliumCreationError<CreationError>>

Trait Implementations

impl Backend for GlutinWindowBackend

fn swap_buffers(&self) -> Result<(), SwapBuffersError>

unsafe fn get_proc_address(&self, symbol: &str) -> *const c_void

fn get_framebuffer_dimensions(&self) -> (u32, u32)

fn is_current(&self) -> bool

unsafe fn make_current(&self)