|
Blender V5.3
|
#include <COM_pixel_operation.hh>
Inherits blender::compositor::Operation.
Inherited by blender::compositor::MultiFunctionProcedureOperation, and blender::compositor::ShaderOperation.
Public Member Functions | |
| PixelOperation (Context &context, NodeTreeEvaluator &node_tree_evaluator, const ComputeContext &compute_context, const bool is_single_value) | |
| void | log_data () override |
| StringRef | get_output_identifier_from_output_socket (const bNodeSocket &output_socket) |
| Map< std::string, const bNodeSocket * > & | get_inputs_to_linked_outputs_map () |
| Map< ImplicitInputType, std::string > & | get_implicit_inputs_to_input_identifiers_map () |
| int | get_internal_input_reference_count (const StringRef &identifier) |
| void | compute_results_reference_counts (const Schedule &schedule) |
| Public Member Functions inherited from blender::compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| virtual void | evaluate () |
| Result & | get_input (StringRef identifier) const |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
| void | free_results () |
| Context & | context () const |
Protected Attributes | |
| NodeTreeEvaluator & | node_tree_evaluator_ |
| const ComputeContext & | compute_context_ |
| Map< std::string, const bNodeSocket * > | inputs_to_linked_outputs_map_ |
| Map< const bNodeSocket *, std::string > | outputs_to_declared_inputs_map_ |
| Map< ImplicitInputType, std::string > | implicit_inputs_to_input_identifiers_map_ |
| Map< std::string, int > | inputs_to_reference_counts_map_ |
| Map< const bNodeSocket *, std::string > | output_sockets_to_output_identifiers_map_ |
| VectorSet< const bNodeSocket * > | preview_outputs_ |
| VectorSet< const bNodeSocket * > | logged_outputs_ |
| const bool | is_single_value_ |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | evaluate_input_processors () |
| virtual void | execute ()=0 |
| void | populate_result (StringRef identifier, ResultType type) |
| void | declare_input_descriptor (StringRef identifier, InputDescriptor descriptordescriptor) |
| InputDescriptor & | get_input_descriptor (StringRef identifier) |
| void | allocate_default_remaining_outputs () |
Definition at line 72 of file COM_pixel_operation.hh.
| blender::compositor::PixelOperation::PixelOperation | ( | Context & | context, |
| NodeTreeEvaluator & | node_tree_evaluator, | ||
| const ComputeContext & | compute_context, | ||
| const bool | is_single_value ) |
Definition at line 31 of file pixel_operation.cc.
References compute_context_, blender::compositor::Operation::context(), is_single_value_, node_tree_evaluator_, blender::compositor::Operation::Operation(), and PixelOperation().
Referenced by blender::compositor::MultiFunctionProcedureOperation::MultiFunctionProcedureOperation(), PixelOperation(), and blender::compositor::ShaderOperation::ShaderOperation().
| void blender::compositor::PixelOperation::compute_results_reference_counts | ( | const Schedule & | schedule | ) |
Definition at line 191 of file pixel_operation.cc.
References blender::compositor::compute_output_reference_count(), compute_results_reference_counts(), blender::compositor::Operation::get_result(), logged_outputs_, node_tree_evaluator_, output, output_sockets_to_output_identifiers_map_, blender::compositor::NodeTreeEvaluator::pixel_compile_unit(), preview_outputs_, and blender::compositor::Result::set_reference_count().
Referenced by compute_results_reference_counts().
| Map< ImplicitInputType, std::string > & blender::compositor::PixelOperation::get_implicit_inputs_to_input_identifiers_map | ( | ) |
Definition at line 181 of file pixel_operation.cc.
References get_implicit_inputs_to_input_identifiers_map(), and implicit_inputs_to_input_identifiers_map_.
Referenced by get_implicit_inputs_to_input_identifiers_map().
| Map< std::string, const bNodeSocket * > & blender::compositor::PixelOperation::get_inputs_to_linked_outputs_map | ( | ) |
Definition at line 176 of file pixel_operation.cc.
References get_inputs_to_linked_outputs_map(), and inputs_to_linked_outputs_map_.
Referenced by get_inputs_to_linked_outputs_map().
| int blender::compositor::PixelOperation::get_internal_input_reference_count | ( | const StringRef & | identifier | ) |
Definition at line 186 of file pixel_operation.cc.
References get_internal_input_reference_count(), inputs_to_reference_counts_map_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
Referenced by get_internal_input_reference_count().
| StringRef blender::compositor::PixelOperation::get_output_identifier_from_output_socket | ( | const bNodeSocket & | output_socket | ) |
Definition at line 170 of file pixel_operation.cc.
References get_output_identifier_from_output_socket(), and output_sockets_to_output_identifiers_map_.
Referenced by get_output_identifier_from_output_socket(), blender::compositor::NodeTreeEvaluator::get_result_from_output_socket(), and log_data().
|
overridevirtual |
Reimplemented from blender::compositor::Operation.
Definition at line 56 of file pixel_operation.cc.
References blender::nodes::eval_log::NodeTreeLogger::allocator, compute_context_, blender::compositor::Operation::compute_domain(), blender::compositor::compute_preview(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::compositor::Operation::context(), blender::compositor::Operation::get_input(), get_output_identifier_from_output_socket(), blender::compositor::Operation::get_result(), blender::compositor::NodeTreeEvaluator::get_result_from_output_socket(), blender::compositor::InputDescriptor::implicit_input, implicit_inputs_to_input_identifiers_map_, blender::compositor::input_descriptor_from_input_socket(), blender::nodes::eval_log::NodeTreeLogger::input_socket_values, blender::compositor::Result::is_single_value(), is_single_value_, blender::compositor::is_socket_available(), log, log_data(), blender::nodes::eval_log::NodeTreeLogger::log_value(), logged_outputs_, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), node, blender::nodes::eval_log::NodeTreeLogger::node_image_previews, node_tree_evaluator_, blender::compositor::Context::nodes_evaluation_log(), output, blender::nodes::eval_log::NodeTreeLogger::output_socket_values, blender::compositor::NodeTreeEvaluator::pixel_compile_unit(), preview_outputs_, blender::result, blender::compositor::NodeTreeEvaluator::schedule(), blender::compositor::Result::single_value(), and blender::compositor::Schedule::unneeded_inputs.
Referenced by log_data().
|
protected |
Definition at line 78 of file COM_pixel_operation.hh.
Referenced by log_data(), and PixelOperation().
|
protected |
Definition at line 87 of file COM_pixel_operation.hh.
Referenced by get_implicit_inputs_to_input_identifiers_map(), and log_data().
|
protected |
Definition at line 81 of file COM_pixel_operation.hh.
Referenced by get_inputs_to_linked_outputs_map().
|
protected |
Definition at line 97 of file COM_pixel_operation.hh.
Referenced by get_internal_input_reference_count().
|
protected |
Definition at line 109 of file COM_pixel_operation.hh.
Referenced by blender::compositor::MultiFunctionProcedureOperation::execute(), log_data(), and PixelOperation().
|
protected |
Definition at line 106 of file COM_pixel_operation.hh.
Referenced by compute_results_reference_counts(), and log_data().
|
protected |
Definition at line 76 of file COM_pixel_operation.hh.
Referenced by compute_results_reference_counts(), log_data(), and PixelOperation().
|
protected |
Definition at line 101 of file COM_pixel_operation.hh.
Referenced by compute_results_reference_counts(), blender::compositor::ShaderOperation::execute(), and get_output_identifier_from_output_socket().
|
protected |
Definition at line 84 of file COM_pixel_operation.hh.
|
protected |
Definition at line 104 of file COM_pixel_operation.hh.
Referenced by compute_results_reference_counts(), and log_data().