78 bool m_hasActiveOpenCLDevices;
83 bool m_fastCalculation;
92 const char *m_viewName;
105 this->m_rendering = rendering;
113 return this->m_rendering;
129 this->m_bnodetree = bnodetree;
137 return this->m_bnodetree;
162 this->m_previews = previews;
170 return this->m_previews;
178 this->m_viewSettings = viewSettings;
186 return this->m_viewSettings;
194 this->m_displaySettings = displaySettings;
202 return this->m_displaySettings;
210 this->m_quality = quality;
218 return this->m_quality;
231 return this->m_hasActiveOpenCLDevices;
239 this->m_hasActiveOpenCLDevices = hasAvtiveOpenCLDevices;
247 return this->m_viewName;
255 this->m_viewName = viewName;
265 this->m_fastCalculation = fastCalculation;
269 return this->m_fastCalculation;
282 return m_rd->
size * 0.01f;
#define NTREE_COM_GROUPNODE_BUFFER
Overall context of the compositor.
bNodeInstanceHash * getPreviewHash() const
get the preview image hash table
bool isGroupnodeBufferEnabled() const
void setFastCalculation(bool fastCalculation)
void setViewSettings(const ColorManagedViewSettings *viewSettings)
set view settings of color color management
float getRenderPercentageAsFactor() const
Get the render percentage as a factor. The compositor uses a factor i.o. a percentage.
const char * getViewName() const
get the active rendering view
CompositorContext()
constructor initializes the context with default values.
void setbNodeTree(bNodeTree *bnodetree)
set the bnodetree of the context
void setDisplaySettings(const ColorManagedDisplaySettings *displaySettings)
set display settings of color color management
bool isRendering() const
get the rendering field of the context
bool getHasActiveOpenCLDevices() const
has this system active openclDevices?
void setScene(Scene *scene)
const bNodeTree * getbNodeTree() const
get the bnodetree of the context
eCompositorQuality getQuality() const
get the quality
void setHasActiveOpenCLDevices(bool hasAvtiveOpenCLDevices)
set has this system active openclDevices?
bool isFastCalculation() const
void setPreviewHash(bNodeInstanceHash *previews)
set the preview image hash table
const ColorManagedDisplaySettings * getDisplaySettings() const
get display settings of color color management
void setQuality(eCompositorQuality quality)
set the quality
const RenderData * getRenderData() const
get the scene of the context
void setViewName(const char *viewName)
set the active rendering view
const ColorManagedViewSettings * getViewSettings() const
get view settings of color color management
int getFramenumber() const
get the current frame-number of the scene in this context
void setRendering(bool rendering)
set the rendering field of the context
void setRenderData(RenderData *rd)
set the scene of the context
eCompositorQuality
Possible quality settings.