Helper class for OpenGL context management.
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 snapshot(Image *image, bool hide_gui=true)
Copies the content of this RenderingContext to an Image.
void end_frame() override
Terminates a frame.
void draw_last_frame()
Draws the frame that was rendered in the FBO.
Helper class for OpenGL context management.