An abstract class for creating a context for Renderer and provide graphics API.
Definition GraphicsContext.h:20
virtual ~GraphicsContext()
A destructor.
Definition GraphicsContext.h:50
virtual void SwapBuffers()=0
This function swaps the front and back buffers of the specified window. If the swap interval is great...
virtual bool OnWindowResize(WindowResizeEvent &event)=0
Calls glViewport function which specifies the affine transformation of x and y from normalized device...
virtual void Init()=0
For initializing Renderer and instantiating relevant objects.