Struct glutin::HeadlessContext [] [src]

pub struct HeadlessContext {
    // some fields omitted
}
[]

Represents a headless OpenGL context.

Methods

impl HeadlessContext
[src]

[]

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.

Trait Implementations

impl GlContext for HeadlessContext
[src]

[]

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.

[]

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

[]

Returns the OpenGL API being used.

[]

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