|
Blender
V2.93
|
Overall context of the compositor. More...
#include <COM_CompositorContext.h>
Public Member Functions | |
| CompositorContext () | |
| constructor initializes the context with default values. More... | |
| void | setRendering (bool rendering) |
| set the rendering field of the context More... | |
| bool | isRendering () const |
| get the rendering field of the context More... | |
| void | setRenderData (RenderData *rd) |
| set the scene of the context More... | |
| void | setbNodeTree (bNodeTree *bnodetree) |
| set the bnodetree of the context More... | |
| const bNodeTree * | getbNodeTree () const |
| get the bnodetree of the context More... | |
| const RenderData * | getRenderData () const |
| get the scene of the context More... | |
| void | setScene (Scene *scene) |
| Scene * | getScene () const |
| void | setPreviewHash (bNodeInstanceHash *previews) |
| set the preview image hash table More... | |
| bNodeInstanceHash * | getPreviewHash () const |
| get the preview image hash table More... | |
| void | setViewSettings (const ColorManagedViewSettings *viewSettings) |
| set view settings of color color management More... | |
| const ColorManagedViewSettings * | getViewSettings () const |
| get view settings of color color management More... | |
| void | setDisplaySettings (const ColorManagedDisplaySettings *displaySettings) |
| set display settings of color color management More... | |
| const ColorManagedDisplaySettings * | getDisplaySettings () const |
| get display settings of color color management More... | |
| void | setQuality (eCompositorQuality quality) |
| set the quality More... | |
| eCompositorQuality | getQuality () const |
| get the quality More... | |
| int | getFramenumber () const |
| get the current frame-number of the scene in this context More... | |
| bool | getHasActiveOpenCLDevices () const |
| has this system active openclDevices? More... | |
| void | setHasActiveOpenCLDevices (bool hasAvtiveOpenCLDevices) |
| set has this system active openclDevices? More... | |
| const char * | getViewName () const |
| get the active rendering view More... | |
| void | setViewName (const char *viewName) |
| set the active rendering view More... | |
| int | getChunksize () const |
| void | setFastCalculation (bool fastCalculation) |
| bool | isFastCalculation () const |
| bool | isGroupnodeBufferEnabled () const |
| float | getRenderPercentageAsFactor () const |
| Get the render percentage as a factor. The compositor uses a factor i.o. a percentage. More... | |
Overall context of the compositor.
Definition at line 37 of file COM_CompositorContext.h.
| blender::compositor::CompositorContext::CompositorContext | ( | ) |
constructor initializes the context with default values.
Definition at line 27 of file COM_CompositorContext.cc.
References blender::compositor::High.
|
inline |
get the bnodetree of the context
Definition at line 135 of file COM_CompositorContext.h.
Referenced by blender::compositor::NodeOperationBuilder::add_input_buffers(), blender::compositor::NodeOperationBuilder::add_output_buffers(), blender::compositor::ExecutionSystem::execute(), getChunksize(), isGroupnodeBufferEnabled(), and blender::compositor::NodeOperationBuilder::registerViewer().
|
inline |
Definition at line 258 of file COM_CompositorContext.h.
References bNodeTree::chunksize, and getbNodeTree().
Referenced by blender::compositor::ExecutionSystem::execute().
|
inline |
get display settings of color color management
Definition at line 200 of file COM_CompositorContext.h.
| int blender::compositor::CompositorContext::getFramenumber | ( | ) | const |
get the current frame-number of the scene in this context
Definition at line 38 of file COM_CompositorContext.cc.
References BLI_assert, and RenderData::cfra.
|
inline |
has this system active openclDevices?
Definition at line 229 of file COM_CompositorContext.h.
|
inline |
get the preview image hash table
Definition at line 168 of file COM_CompositorContext.h.
|
inline |
get the quality
Definition at line 216 of file COM_CompositorContext.h.
|
inline |
get the scene of the context
Definition at line 143 of file COM_CompositorContext.h.
|
inline |
Get the render percentage as a factor. The compositor uses a factor i.o. a percentage.
Definition at line 280 of file COM_CompositorContext.h.
References RenderData::size.
|
inline |
Definition at line 152 of file COM_CompositorContext.h.
|
inline |
get the active rendering view
Definition at line 245 of file COM_CompositorContext.h.
|
inline |
get view settings of color color management
Definition at line 184 of file COM_CompositorContext.h.
|
inline |
Definition at line 267 of file COM_CompositorContext.h.
|
inline |
Definition at line 271 of file COM_CompositorContext.h.
References getbNodeTree(), and NTREE_COM_GROUPNODE_BUFFER.
|
inline |
get the rendering field of the context
Definition at line 111 of file COM_CompositorContext.h.
Referenced by blender::compositor::NodeOperationBuilder::determineResolutions(), blender::compositor::NodeOperationBuilder::group_operations(), and blender::compositor::NodeOperationBuilder::prune_operations().
|
inline |
set the bnodetree of the context
Definition at line 127 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set display settings of color color management
Definition at line 192 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
Definition at line 263 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set has this system active openclDevices?
Definition at line 237 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set the preview image hash table
Definition at line 160 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set the quality
Definition at line 208 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set the scene of the context
Definition at line 119 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set the rendering field of the context
Definition at line 103 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
Definition at line 148 of file COM_CompositorContext.h.
References scene.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set the active rendering view
Definition at line 253 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().
|
inline |
set view settings of color color management
Definition at line 176 of file COM_CompositorContext.h.
Referenced by blender::compositor::ExecutionSystem::ExecutionSystem().