Inviwo  0.9.10.1
Inviwo documentation
inviwo::RenderContext Class Reference

Keeper of the default render context. More...

#include <rendercontext.h>

+ Inheritance diagram for inviwo::RenderContext:

Public Member Functions

CanvasgetDefaultRenderContext ()
 
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)
 
CanvasgetCanvas (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 RenderContextgetPtr ()
 
static void deleteInstance ()
 
static bool isInitialized ()
 

Detailed Description

Keeper of the default render context.


The documentation for this class was generated from the following files: