|
Blender V4.3
|
#include <COM_pixel_operation.hh>
Inherits blender::realtime_compositor::Operation.
Inherited by blender::realtime_compositor::ShaderOperation.
Public Member Functions | |
| PixelOperation (Context &context, PixelCompileUnit &compile_unit, const Schedule &schedule) | |
| void | compute_preview () override |
| StringRef | get_output_identifier_from_output_socket (DOutputSocket output_socket) |
| Map< std::string, DOutputSocket > & | get_inputs_to_linked_outputs_map () |
| void | compute_results_reference_counts (const Schedule &schedule) |
Public Member Functions inherited from blender::realtime_compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| virtual void | evaluate () |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
Protected Attributes | |
| PixelCompileUnit | compile_unit_ |
| const Schedule & | schedule_ |
| Map< std::string, DOutputSocket > | inputs_to_linked_outputs_map_ |
| Map< DOutputSocket, std::string > | output_sockets_to_output_identifiers_map_ |
| VectorSet< DOutputSocket > | preview_outputs_ |
Additional Inherited Members | |
Protected Member Functions inherited from blender::realtime_compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | add_and_evaluate_input_processors () |
| void | add_and_evaluate_input_processor (StringRef identifier, SimpleOperation *processor) |
| virtual void | execute ()=0 |
| Result & | get_input (StringRef identifier) const |
| void | switch_result_mapped_to_input (StringRef identifier, Result *result) |
| void | populate_result (StringRef identifier, Result result) |
| void | declare_input_descriptor (StringRef identifier, InputDescriptor descriptor) |
| InputDescriptor & | get_input_descriptor (StringRef identifier) |
| Context & | context () const |
| TexturePool & | texture_pool () const |
Definition at line 68 of file COM_pixel_operation.hh.
| blender::realtime_compositor::PixelOperation::PixelOperation | ( | Context & | context, |
| PixelCompileUnit & | compile_unit, | ||
| const Schedule & | schedule ) |
Definition at line 23 of file pixel_operation.cc.
|
overridevirtual |
Reimplemented from blender::realtime_compositor::Operation.
Definition at line 30 of file pixel_operation.cc.
References blender::realtime_compositor::compute_preview_from_result(), blender::realtime_compositor::Operation::context(), get_output_identifier_from_output_socket(), blender::realtime_compositor::Operation::get_result(), and preview_outputs_.
| void blender::realtime_compositor::PixelOperation::compute_results_reference_counts | ( | const Schedule & | schedule | ) |
Definition at line 51 of file pixel_operation.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::realtime_compositor::Operation::get_result(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::realtime_compositor::number_of_inputs_linked_to_output_conditioned(), output_sockets_to_output_identifiers_map_, preview_outputs_, and blender::realtime_compositor::Result::set_initial_reference_count().
| Map< std::string, DOutputSocket > & blender::realtime_compositor::PixelOperation::get_inputs_to_linked_outputs_map | ( | ) |
Definition at line 46 of file pixel_operation.cc.
References inputs_to_linked_outputs_map_.
| StringRef blender::realtime_compositor::PixelOperation::get_output_identifier_from_output_socket | ( | DOutputSocket | output_socket | ) |
Definition at line 41 of file pixel_operation.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and output_sockets_to_output_identifiers_map_.
Referenced by compute_preview(), and blender::realtime_compositor::CompileState::get_result_from_output_socket().
|
protected |
Definition at line 71 of file COM_pixel_operation.hh.
|
protected |
Definition at line 76 of file COM_pixel_operation.hh.
Referenced by get_inputs_to_linked_outputs_map().
|
protected |
Definition at line 80 of file COM_pixel_operation.hh.
Referenced by compute_results_reference_counts(), blender::realtime_compositor::ShaderOperation::execute(), and get_output_identifier_from_output_socket().
|
protected |
Definition at line 83 of file COM_pixel_operation.hh.
Referenced by compute_preview(), and compute_results_reference_counts().
|
protected |
Definition at line 73 of file COM_pixel_operation.hh.