|
Blender V4.3
|
#include <COM_shader_operation.hh>
Inherits blender::realtime_compositor::PixelOperation.
Public Member Functions | |
| ShaderOperation (Context &context, PixelCompileUnit &compile_unit, const Schedule &schedule) | |
| ~ShaderOperation () | |
| void | execute () override |
Public Member Functions inherited from blender::realtime_compositor::PixelOperation | |
| 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) |
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) |
| 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 |
Protected Attributes inherited from blender::realtime_compositor::PixelOperation | |
| 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_ |
Definition at line 62 of file COM_shader_operation.hh.
| blender::realtime_compositor::ShaderOperation::ShaderOperation | ( | Context & | context, |
| PixelCompileUnit & | compile_unit, | ||
| const Schedule & | schedule ) |
Definition at line 42 of file shader_operation.cc.
References GPU_MAT_COMPOSITOR, GPU_MAT_QUEUED, GPU_material_compile(), GPU_material_from_callbacks(), and GPU_material_status_set().
| blender::realtime_compositor::ShaderOperation::~ShaderOperation | ( | ) |
Definition at line 53 of file shader_operation.cc.
References GPU_material_free_single().
|
overridevirtual |
Implements blender::realtime_compositor::Operation.
Definition at line 58 of file shader_operation.cc.
References blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::get_result(), GPU_material_get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_image_unbind_all(), GPU_texture_unbind_all(), GPU_uniformbuf_debug_unbind_all(), blender::realtime_compositor::PixelOperation::output_sockets_to_output_identifiers_map_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().