Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
RAII helper class to temporarily lock an available context for use. More...
#include <SFML/Window/GlResource.hpp>
Public Member Functions | |
TransientContextLock () | |
Default constructor. | |
~TransientContextLock () | |
Destructor. | |
TransientContextLock (const TransientContextLock &)=delete | |
Deleted copy constructor. | |
TransientContextLock & | operator= (const TransientContextLock &)=delete |
Deleted copy assignment. |
RAII helper class to temporarily lock an available context for use.
Definition at line 76 of file GlResource.hpp.
sf::GlResource::TransientContextLock::TransientContextLock | ( | ) |
Default constructor.
sf::GlResource::TransientContextLock::~TransientContextLock | ( | ) |
Destructor.
|
delete |
Deleted copy constructor.
|
delete |
Deleted copy assignment.