OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::SDL2::GLContext Class Reference

RAII wrapper for SDL OpenGL context. More...

#include </home/jenkins/root/workspace/OSVR-Core-Docs/examples/clients/opengl-sdl/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.

Definition at line 79 of file SDL2Helpers.h.


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