Struct nannou::ui::backend::glium::glium::backend::glutin::glutin::HeadlessContext[]

pub struct HeadlessContext { /* fields omitted */ }

Represents a headless OpenGL context.

Trait Implementations

impl GlContext for HeadlessContext

Creates a new OpenGL context Sets the context as the current context.

Returns true if this context is the current one in this thread.

Returns the address of an OpenGL function.

Contrary to wglGetProcAddress, all available OpenGL functions return an address.

Returns the API that is currently provided by this window.

See Window::get_api for more infos.

Swaps the buffers in case of double or triple buffering. Read more

Returns the pixel format of the main framebuffer of the context.

Resize the GL context. Read more

impl GlContextExt for HeadlessContext

Raw context handle.

Returns the raw context handle.

Auto Trait Implementations