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

Methods

impl GLContextAttributes
[src]

Trait Implementations

impl Clone for GLContextAttributes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GLContextAttributes
[src]

Formats the value using the given formatter.

impl Copy for GLContextAttributes
[src]

impl Default for GLContextAttributes
[src]

Returns the "default value" for a type. Read more