Loading...
Searching...
No Matches
GlResource.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.
RAII helper class to temporarily lock an available context for use.
Definition GlResource.hpp:77
TransientContextLock(const TransientContextLock &)=delete
Deleted copy constructor.
TransientContextLock()
Default constructor.
TransientContextLock & operator=(const TransientContextLock &)=delete
Deleted copy assignment.
static void unregisterUnsharedGlObject(std::shared_ptr< void > object)
Unregister an OpenGL object from its containing context.
static void registerUnsharedGlObject(std::shared_ptr< void > object)
Register an OpenGL object to be destroyed when its containing context is destroyed.
Definition AudioResource.hpp:36