This file contains base class GraphicsContext.
An abstract class for creating a context for Renderer and provide graphics API.
Definition GraphicsContext.h:20
virtual void Init() override
Initializes the context.
Definition OpenGLContext.cpp:14
OpenGLContext(GLFWwindow *windowHandle)
A constructor.
Definition OpenGLContext.cpp:8
virtual void SwapBuffers() override
This function swaps the front and back buffers of the context window.
Definition OpenGLContext.cpp:25
virtual bool OnWindowResize(WindowResizeEvent &event) override
Called by Window::Resize, when the resize of a window happens.
Definition OpenGLContext.cpp:33