Struct offscreen_gl_context::GLContextAttributes [] [src]

pub struct GLContextAttributes {
    pub alpha: bool,
    pub depth: bool,
    pub stencil: bool,
    pub antialias: bool,
    pub premultiplied_alpha: bool,
    pub preserve_drawing_buffer: bool,
}

This structure represents the attributes the context must support It's almost (if not) identical to WebGLGLContextAttributes

Fields

alpha: bool depth: bool stencil: bool antialias: bool premultiplied_alpha: bool preserve_drawing_buffer: bool

Methods

impl GLContextAttributes
[src]

Trait Implementations

impl Copy for GLContextAttributes
[src]

impl Debug for GLContextAttributes
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for GLContextAttributes
[src]

fn clone(&self) -> GLContextAttributes

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more