|
CyberEngineMkIII
|
Context switching RAII helper. More...
#include <CYBInterop.hpp>

Public Member Functions | |
| PushContext (Context &ANewContext) noexcept | |
Saves the current Context and calls MakeCurrent on ANewContext. More... | |
| ~PushContext () | |
| Calls MakeCurrent on FOldContext. | |
Private Attributes | |
| Context & | FOldContext |
| The context to pop upon destruction. | |
Context switching RAII helper.
Definition at line 64 of file CYBInterop.hpp.
|
noexcept |
Saves the current Context and calls MakeCurrent on ANewContext.
| ANewContext | The new Context to push |
Definition at line 51 of file CYBInterop.cpp.
1.8.6