Just™ Game Engine
Classes | Public Member Functions | Friends | List of all members
jng::GraphicsContext Class Reference

#include <graphics_context.hpp>

Public Member Functions

 GraphicsContext (Window &window)
 
 ~GraphicsContext ()=default
 
void setVSync (bool enabled)
 
bool isVSync () const
 
void swapBuffers () const
 

Friends

class Window
 

Constructor & Destructor Documentation

◆ GraphicsContext()

jng::GraphicsContext::GraphicsContext ( Window window)
explicit

◆ ~GraphicsContext()

jng::GraphicsContext::~GraphicsContext ( )
default

Member Function Documentation

◆ isVSync()

bool jng::GraphicsContext::isVSync ( ) const
inline

◆ setVSync()

void jng::GraphicsContext::setVSync ( bool  enabled)

◆ swapBuffers()

void jng::GraphicsContext::swapBuffers ( ) const

Friends And Related Function Documentation

◆ Window

friend class Window
friend

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