Header containing some helper code for using SDL2 in a C++11 environment. More...
#include <SDL.h>
#include <SDL_opengl.h>
#include <stdexcept>
#include <string>
#include <memory>
Go to the source code of this file.
Classes | |
class | osvr::SDL2::Lib |
RAII wrapper for SDL startup/shutdown. More... | |
class | osvr::SDL2::TextInput |
RAII wrapper for SDL text input start/stop. More... | |
class | osvr::SDL2::GLContext |
RAII wrapper for SDL OpenGL context. More... | |
Namespaces | |
osvr | |
The main namespace for all C++ elements of the framework, internal and external. | |
Typedefs | |
typedef std::shared_ptr < SDL_Window > | osvr::SDL2::WindowPtr |
Smart pointer for SDL_Window. | |
Functions | |
template<typename... Args> | |
WindowPtr | osvr::SDL2::createWindow (Args &&...args) |
Smart pointer constructor for SDL_Window (forwarding) | |
Header containing some helper code for using SDL2 in a C++11 environment.
Definition in file SDL2Helpers.h.