CyberEngineMkIII
|
Implements the engine level functions for API::Interop::Contexts. More...
#include <CYBInterop.hpp>
Public Member Functions | |
Context (API::Heap &AHeap, API::Logger &ALogger, const bool AMakeCurrent) noexcept | |
Setup the Context, optionally making it the current one. More... | |
void | MakeCurrent (void) noexcept |
Set the current thread's Context singleton to this Context. More... | |
![]() | |
Context (const Context &)=delete | |
See Default Constructors and Destructor. | |
Private Attributes | |
Allocator | FAllocatorObject |
The Allocator for this Context. | |
Additional Inherited Members | |
![]() | |
static Context & | GetContext (void) noexcept |
Get the API's Context. More... | |
![]() | |
Allocator & | FAllocator |
The Allocator. | |
Logger & | FLogger |
The Logger. | |
![]() | |
Context (Allocator &AAllocator, Logger &ALogger) noexcept | |
Setup the context. More... | |
Implements the engine level functions for API::Interop::Contexts.
Definition at line 41 of file CYBInterop.hpp.
|
noexcept |
Setup the Context, optionally making it the current one.
AHeap | The Heap for the Allocator to use |
ALogger | The Logger to use |
AMakeCurrent | If true, MakeCurrent will be called during the constructor |
Definition at line 39 of file CYBInterop.cpp.
|
noexcept |
Set the current thread's Context singleton to this Context.
Definition at line 47 of file CYBInterop.cpp.