Helper class for OpenGL context management.
 
virtual void make_current()
Makes this RenderingContext the current one.
 
A class derived from RenderingContext that interfaces the Application class with Graphite.
 
void resize(index_t w, index_t h) override
Must be called whenever the rendering context is resized.
 
void begin_frame() override
Begins a new frame.
 
SkinImGUIRenderingContext(GLUPcontext glup_context)
SkinImGUIRenderingContext constructor.
 
void end_frame() override
Terminates a frame.
 
void snapshot(Image *image, bool make_current=true, index_t x0=0, index_t y0=0, index_t w=0, index_t h=0) override
 
void draw_last_frame()
Draws the frame that was rendered in the FBO.
 
Helper class for OpenGL context management.