|
Blender
V2.93
|
the ExecutionSystem contains the whole compositor tree. More...
#include <COM_ExecutionSystem.h>
Public Member Functions | |
| ExecutionSystem (RenderData *rd, Scene *scene, bNodeTree *editingtree, bool rendering, bool fastcalculation, const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings, const char *viewName) | |
| Create a new ExecutionSystem and initialize it with the editingtree. More... | |
| ~ExecutionSystem () | |
| void | set_operations (const Vector< NodeOperation * > &operations, const Vector< ExecutionGroup * > &groups) |
| void | execute () |
| execute this system More... | |
| const CompositorContext & | getContext () const |
| get the reference to the compositor context More... | |
Friends | |
| class | DebugInfo |
the ExecutionSystem contains the whole compositor tree.
Definition at line 121 of file COM_ExecutionSystem.h.
| blender::compositor::ExecutionSystem::ExecutionSystem | ( | RenderData * | rd, |
| Scene * | scene, | ||
| bNodeTree * | editingtree, | ||
| bool | rendering, | ||
| bool | fastcalculation, | ||
| const ColorManagedViewSettings * | viewSettings, | ||
| const ColorManagedDisplaySettings * | displaySettings, | ||
| const char * | viewName | ||
| ) |
Create a new ExecutionSystem and initialize it with the editingtree.
| editingtree | [bNodeTree *] |
| rendering | [true false] |
Definition at line 42 of file COM_ExecutionSystem.cc.
References RenderData::border, blender::compositor::NodeOperationBuilder::convertToOperations(), bNodeTree::edit_quality, bNodeTree::flag, blender::compositor::WorkScheduler::has_gpu_devices(), RenderData::mode, NTREE_COM_OPENCL, NTREE_VIEWER_BORDER, bNodeTree::previews, R_BORDER, R_CROP, bNodeTree::render_quality, scene, bNodeTree::sdh, blender::compositor::CompositorContext::setbNodeTree(), blender::compositor::CompositorContext::setDisplaySettings(), blender::compositor::CompositorContext::setFastCalculation(), blender::compositor::CompositorContext::setHasActiveOpenCLDevices(), blender::compositor::CompositorContext::setPreviewHash(), blender::compositor::CompositorContext::setQuality(), blender::compositor::CompositorContext::setRenderData(), blender::compositor::CompositorContext::setRendering(), blender::compositor::CompositorContext::setScene(), blender::compositor::CompositorContext::setViewName(), blender::compositor::CompositorContext::setViewSettings(), bNodeTree::stats_draw, TIP_, bNodeTree::viewer_border, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
| blender::compositor::ExecutionSystem::~ExecutionSystem | ( | ) |
Destructor
Definition at line 109 of file COM_ExecutionSystem.cc.
| void blender::compositor::ExecutionSystem::execute | ( | ) |
execute this system
Definition at line 182 of file COM_ExecutionSystem.cc.
References blender::compositor::DebugInfo::execute_started(), blender::compositor::WorkScheduler::finish(), blender::compositor::CompositorContext::getbNodeTree(), blender::compositor::CompositorContext::getChunksize(), getContext(), blender::compositor::High, blender::compositor::init_execution_groups_for_execution(), blender::compositor::init_non_write_operations_for_execution(), blender::compositor::init_write_operations_for_execution(), blender::compositor::link_write_buffers(), blender::compositor::Low, blender::compositor::Medium, bNodeTree::sdh, blender::compositor::WorkScheduler::start(), bNodeTree::stats_draw, blender::compositor::WorkScheduler::stop(), TIP_, and blender::compositor::update_read_buffer_offset().
Referenced by COM_execute().
|
inline |
get the reference to the compositor context
Definition at line 176 of file COM_ExecutionSystem.h.
Referenced by execute().
| void blender::compositor::ExecutionSystem::set_operations | ( | const Vector< NodeOperation * > & | operations, |
| const Vector< ExecutionGroup * > & | groups | ||
| ) |
Definition at line 122 of file COM_ExecutionSystem.cc.
Referenced by blender::compositor::NodeOperationBuilder::convertToOperations().
|
friend |
Definition at line 185 of file COM_ExecutionSystem.h.