Interface for OpenGL context.
virtual void swapBuffers()=0
Swap the front and back buffers.
virtual bool isVSyncEnabled() const =0
Check if VSync is enabled.
virtual void initialize(const NativeWindowHandle &window)=0
Initialize the OpenGL context with the given window.
virtual void setVSyncEnabled(bool enabled)=0
Enable or disable VSync.
virtual ~IContext()=default