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]
fn any() -> GLContextAttributes
Trait Implementations
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
impl Debug for GLContextAttributes[src]
impl Copy for GLContextAttributes[src]
impl Default for GLContextAttributes[src]
fn default() -> GLContextAttributes
Returns the "default value" for a type. Read more