Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_OutputFileOperation.cc
| Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Lines | OutputOpenExrMultiLayerOperation::OutputOpenExrMultiLayerOperation(const Scene *scene, | ||||
| this->m_scene = scene; | this->m_scene = scene; | ||||
| this->m_rd = rd; | this->m_rd = rd; | ||||
| this->m_tree = tree; | this->m_tree = tree; | ||||
| BLI_strncpy(this->m_path, path, sizeof(this->m_path)); | BLI_strncpy(this->m_path, path, sizeof(this->m_path)); | ||||
| this->m_exr_codec = exr_codec; | this->m_exr_codec = exr_codec; | ||||
| this->m_exr_half_float = exr_half_float; | this->m_exr_half_float = exr_half_float; | ||||
| this->m_viewName = viewName; | this->m_viewName = viewName; | ||||
| this->setResolutionInputSocketIndex(RESOLUTION_INPUT_ANY); | this->set_canvas_input_index(RESOLUTION_INPUT_ANY); | ||||
| } | } | ||||
| void OutputOpenExrMultiLayerOperation::add_layer(const char *name, | void OutputOpenExrMultiLayerOperation::add_layer(const char *name, | ||||
| DataType datatype, | DataType datatype, | ||||
| bool use_layer) | bool use_layer) | ||||
| { | { | ||||
| this->addInputSocket(datatype); | this->addInputSocket(datatype); | ||||
| this->m_layers.append(OutputOpenExrLayer(name, datatype, use_layer)); | this->m_layers.append(OutputOpenExrLayer(name, datatype, use_layer)); | ||||
| ▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines | |||||