Loading...
Searching...
No Matches
Context.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
static bool isExtensionAvailable(const char *name)
Check whether a given OpenGL extension is available.
Context(const ContextSettings &settings, unsigned int width, unsigned int height)
Construct a in-memory context.
static const Context * getActiveContext()
Get the currently active context.
static Uint64 getActiveContextId()
Get the currently active context's ID.
static GlFunctionPointer getFunction(const char *name)
Get the address of an OpenGL function.
Definition AlResource.hpp:35
Structure defining the settings of the OpenGL context attached to a window.
Definition ContextSettings.hpp:38