Inviwo
0.9.10.1
Inviwo documentation
|
Keeper of the default render context. More...
#include <rendercontext.h>
Public Member Functions | |
Canvas * | getDefaultRenderContext () |
void | setDefaultRenderContext (Canvas *canvas) |
void | activateDefaultRenderContext () const |
void | activateLocalRenderContext () const |
Canvas::ContextID | activeContext () const |
void | clearContext () |
void | registerContext (Canvas *canvas, const std::string &name) |
void | unRegisterContext (Canvas *canvas) |
Canvas * | getCanvas (Canvas::ContextID id) const |
std::string | getContextName (Canvas::ContextID id) const |
void | setContextName (Canvas::ContextID id, const std::string &name) |
std::thread::id | getContextThreadId (Canvas::ContextID id) const |
void | setContextThreadId (Canvas::ContextID id, std::thread::id) |
template<typename C > | |
void | forEachContext (C callback) |
Public Member Functions inherited from inviwo::Singleton< RenderContext > | |
Singleton (Singleton< RenderContext > const &)=delete | |
void | operator= (Singleton< RenderContext > const &)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from inviwo::Singleton< RenderContext > | |
static void | init () |
static void | init (RenderContext *instance) |
static RenderContext * | getPtr () |
static void | deleteInstance () |
static bool | isInitialized () |
Keeper of the default render context.