OSVR-Core
Public Member Functions | List of all members
osvr::SDL2::GLContext Class Reference

RAII wrapper for SDL OpenGL context. More...

#include <SDL2Helpers.h>

Public Member Functions

template<typename... Args>
 GLContext (Args &&... args)
 Forwarding constructor.
 
 ~GLContext ()
 Destructor for cleanup.
 
 operator SDL_GLContext () const
 Implicit conversion.
 
 GLContext (GLContext const &)=delete
 
GLContextoperator= (GLContext const &)=delete
 

Detailed Description

RAII wrapper for SDL OpenGL context.


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