Struct glutin::HeadlessContext [] [src]

pub struct HeadlessContext { /* fields omitted */ }

Represents a headless OpenGL context.

Methods

impl HeadlessContext
[src]

[src]

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

[src]

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

[src]

Returns the address of an OpenGL function.

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

[src]

Returns the API that is currently provided by this window.

See Window::get_api for more infos.

[src]

Trait Implementations

impl GlContext for HeadlessContext
[src]

[src]

Sets the context as the current context.

[src]

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

[src]

Returns the address of an OpenGL function.

[src]

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

[src]

Returns the OpenGL API being used.

[src]

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