SDL2GLContext

SDL OpenGL context wrapper. You probably don't need to use it directly.

Constructors

this
this(SDL2Window window)

Creates an OpenGL context for a given SDL window.

Destructor

~this
~this()
Undocumented in source.

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