SDL2GLContext

Constructors

this
this(SDL2Window window)

Creates an OpenGL context for a given SDL window.

Destructor

~this
~this()

Members

Functions

close
void close()

Release the associated SDL ressource.

makeCurrent
void makeCurrent()

Makes this OpenGL context current.

Variables

_context
SDL_GLContext _context;
Undocumented in source.
_window
SDL2Window _window;
Undocumented in source.

Meta