Struct gfx_window_glfw::Output
[−]
[src]
pub struct Output<R: Resources> { pub window: Window, // some fields omitted }
A wrapper around the window that implements Output
.
Fields
window: Window
Glutin window in the open.
Trait Implementations
impl<R: Resources> Output<R> for Output<R>
[src]
fn get_handle(&self) -> Option<&FrameBuffer<R>>
Get an associated device handle, if any.
fn get_size(&self) -> (Size, Size)
Get canvas dimensions.
fn get_mask(&self) -> Mask
Get the output surface mask.
fn get_gamma(&self) -> Gamma
Check if it converts gamma of the output colors.
fn get_colors(&self) -> &[Plane<R>]
Get array of color planes.
fn get_depth(&self) -> Option<&Plane<R>>
Get depth plane, if any.
fn get_stencil(&self) -> Option<&Plane<R>>
Get stencil plane, if any.
impl<R: Resources> Window<R> for Output<R>
[src]
fn swap_buffers(&mut self)
Swap front and back buffers.