Blender
V3.3
|
#include <COM_ExecutionModel.h>
Public Member Functions | |
ExecutionModel (CompositorContext &context, Span< NodeOperation * > operations) | |
virtual | ~ExecutionModel () |
virtual void | execute (ExecutionSystem &exec_system)=0 |
Protected Attributes | |
struct { | |
bool use_render_border | |
const rctf * render_border | |
bool use_viewer_border | |
const rctf * viewer_border | |
} | border_ |
CompositorContext & | context_ |
Span< NodeOperation * > | operations_ |
Base class for execution models. Contains shared implementation.
Definition at line 23 of file COM_ExecutionModel.h.
blender::compositor::ExecutionModel::ExecutionModel | ( | CompositorContext & | context, |
Span< NodeOperation * > | operations | ||
) |
Definition at line 9 of file COM_ExecutionModel.cc.
References border_, blender::compositor::context, context_, blender::compositor::CompositorContext::get_bnodetree(), blender::compositor::CompositorContext::get_render_data(), NTREE_VIEWER_BORDER, R_BORDER, R_CROP, viewer_border, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
inlinevirtual |
Definition at line 48 of file COM_ExecutionModel.h.
|
pure virtual |
Implemented in blender::compositor::TiledExecutionModel, and blender::compositor::FullFrameExecutionModel.
Referenced by blender::compositor::ExecutionSystem::execute().
struct { ... } blender::compositor::ExecutionModel::border_ |
Render and viewer border info. Coordinates are normalized.
Referenced by ExecutionModel(), and blender::compositor::TiledExecutionModel::TiledExecutionModel().
|
protected |
Context used during execution.
Definition at line 38 of file COM_ExecutionModel.h.
Referenced by blender::compositor::FullFrameExecutionModel::execute(), blender::compositor::TiledExecutionModel::execute(), and ExecutionModel().
|
protected |
All operations being executed.
Definition at line 43 of file COM_ExecutionModel.h.
Referenced by blender::compositor::TiledExecutionModel::execute().
const rctf* blender::compositor::ExecutionModel::render_border |
Definition at line 30 of file COM_ExecutionModel.h.
Referenced by blender::compositor::TiledExecutionModel::TiledExecutionModel().
bool blender::compositor::ExecutionModel::use_render_border |
Definition at line 29 of file COM_ExecutionModel.h.
bool blender::compositor::ExecutionModel::use_viewer_border |
Definition at line 31 of file COM_ExecutionModel.h.
const rctf* blender::compositor::ExecutionModel::viewer_border |
Definition at line 32 of file COM_ExecutionModel.h.
Referenced by ExecutionModel(), and blender::compositor::TiledExecutionModel::TiledExecutionModel().