Struct gfx_device_gl::Output [] [src]

pub struct Output {
    pub width: Size,
    pub height: Size,
    // some fields omitted
}

A placeholder for a real Output implemented by your window.

Fields

width: Size

render frame width.

height: Size

render frame height.

Trait Implementations

impl Output<R> for Output
[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_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.

fn get_gamma(&self) -> Gamma

Check if it converts gamma of the output colors.