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 const Context * getActiveContext()
Get the currently active context.
Context(const ContextSettings &settings, Vector2u size)
Construct a in-memory context.
static bool isExtensionAvailable(std::string_view name)
Check whether a given OpenGL extension is available.
static GlFunctionPointer getFunction(const char *name)
Get the address of an OpenGL function.
static std::uint64_t getActiveContextId()
Get the currently active context's ID.
Definition AudioResource.hpp:36
Structure defining the settings of the OpenGL context attached to a window.
Definition ContextSettings.hpp:39