Struct glw::glcontext::GLContext[][src]

pub struct GLContext;

An openGL wrapper that is used to interface with openGL.

Methods

impl GLContext
[src]

Creates anew OpenGL Context and links up the procedure address getter

Enables the OpenGL debug callbacks. This is only available in debug configurations

Set's the current active viewport

Clears the current bound render target

Binds a shader program

Binds a render target for drawing

Auto Trait Implementations

impl Send for GLContext

impl Sync for GLContext