Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Vesper::GraphicsContext Class Referenceabstract

Abstract class representing a graphics context. More...

#include <GraphicsContext.h>

Inheritance diagram for Vesper::GraphicsContext:
Vesper::OpenGLContext

Public Member Functions

virtual ~GraphicsContext ()
virtual void Init ()=0
 Initializes the graphics context.
virtual void SwapBuffers ()=0
 Swaps the front and back buffers.

Detailed Description

Abstract class representing a graphics context.

Constructor & Destructor Documentation

◆ ~GraphicsContext()

virtual Vesper::GraphicsContext::~GraphicsContext ( )
inlinevirtual
12{}

Member Function Documentation

◆ Init()

virtual void Vesper::GraphicsContext::Init ( )
pure virtual

Initializes the graphics context.

Implemented in Vesper::OpenGLContext.

Referenced by Vesper::WindowsWindow::Init().

◆ SwapBuffers()

virtual void Vesper::GraphicsContext::SwapBuffers ( )
pure virtual

Swaps the front and back buffers.

Implemented in Vesper::OpenGLContext.

Referenced by Vesper::WindowsWindow::OnUpdate().


The documentation for this class was generated from the following file: