Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_Converter.cc
| Show All 20 Lines | |||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| #include "BKE_node.h" | #include "BKE_node.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "COM_NodeOperationBuilder.h" | #include "COM_NodeOperationBuilder.h" | ||||
| #include "COM_AlphaOverNode.h" | #include "COM_AlphaOverNode.h" | ||||
| #include "COM_AntiAliasingNode.h" | |||||
| #include "COM_BilateralBlurNode.h" | #include "COM_BilateralBlurNode.h" | ||||
| #include "COM_BlurNode.h" | #include "COM_BlurNode.h" | ||||
| #include "COM_BokehBlurNode.h" | #include "COM_BokehBlurNode.h" | ||||
| #include "COM_BokehImageNode.h" | #include "COM_BokehImageNode.h" | ||||
| #include "COM_BoxMaskNode.h" | #include "COM_BoxMaskNode.h" | ||||
| #include "COM_BrightnessNode.h" | #include "COM_BrightnessNode.h" | ||||
| #include "COM_ChannelMatteNode.h" | #include "COM_ChannelMatteNode.h" | ||||
| #include "COM_ChromaMatteNode.h" | #include "COM_ChromaMatteNode.h" | ||||
| ▲ Show 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | case CMP_NODE_CRYPTOMATTE: | ||||
| node = new CryptomatteNode(b_node); | node = new CryptomatteNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_DENOISE: | case CMP_NODE_DENOISE: | ||||
| node = new DenoiseNode(b_node); | node = new DenoiseNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_EXPOSURE: | case CMP_NODE_EXPOSURE: | ||||
| node = new ExposureNode(b_node); | node = new ExposureNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_ANTIALIASING: | |||||
| node = new AntiAliasingNode(b_node); | |||||
| break; | |||||
| } | } | ||||
| return node; | return node; | ||||
| } | } | ||||
| /* TODO(jbakker): make this an std::optional<NodeOperation>. */ | /* TODO(jbakker): make this an std::optional<NodeOperation>. */ | ||||
| NodeOperation *COM_convert_data_type(const NodeOperationOutput &from, const NodeOperationInput &to) | NodeOperation *COM_convert_data_type(const NodeOperationOutput &from, const NodeOperationInput &to) | ||||
| { | { | ||||
| const DataType src_data_type = from.getDataType(); | const DataType src_data_type = from.getDataType(); | ||||
| ▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines | |||||