|
Blender V5.0
|
Inherits blender::compositor::NodeOperation.
Public Member Functions | |
| void | execute () override |
| void | execute_gpu () |
| const char * | get_shader_name () |
| void | execute_cpu () |
| bool | is_edge_filter () |
| float3x3 | get_filter_kernel () |
| CMPNodeFilterMethod | get_type () |
| NodeOperation (Context &context, DNode node) | |
| Public Member Functions inherited from blender::compositor::NodeOperation | |
| NodeOperation (Context &context, DNode node) | |
| void | evaluate () override |
| void | compute_results_reference_counts (const Schedule &schedule) |
| Public Member Functions inherited from blender::compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
| void | free_results () |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::compositor::NodeOperation | |
| void | compute_preview () override |
| const DNode & | node () const |
| const bNode & | bnode () const |
| bool | should_compute_output (StringRef identifier) |
| Protected Member Functions inherited from blender::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 |
Definition at line 95 of file node_composite_filter.cc.
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 99 of file node_composite_filter.cc.
References blender::compositor::Operation::context(), execute_cpu(), execute_gpu(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Result::is_single_value(), and blender::compositor::Result::share_data().
|
inline |
Definition at line 151 of file node_composite_filter.cc.
References blender::compositor::Operation::compute_domain(), get_filter_kernel(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), input, blender::math::interpolate(), is_edge_filter(), blender::compositor::Result::load_pixel(), output, blender::compositor::parallel_for(), blender::compositor::Domain::size, and blender::math::sqrt().
Referenced by execute().
|
inline |
Definition at line 116 of file node_composite_filter.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), get_filter_kernel(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_mat3_as_mat4(), ptr, blender::compositor::Domain::size, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 228 of file node_composite_filter.cc.
References CMP_NODE_FILTER_KIRSCH, CMP_NODE_FILTER_LAPLACE, CMP_NODE_FILTER_PREWITT, CMP_NODE_FILTER_SHADOW, CMP_NODE_FILTER_SHARP_BOX, CMP_NODE_FILTER_SHARP_DIAMOND, CMP_NODE_FILTER_SOBEL, CMP_NODE_FILTER_SOFT, and get_type().
Referenced by execute_cpu(), and execute_gpu().
|
inline |
Definition at line 143 of file node_composite_filter.cc.
References is_edge_filter().
Referenced by execute_gpu().
|
inline |
Definition at line 279 of file node_composite_filter.cc.
References CMP_NODE_FILTER_SOFT, get_input(), input, and blender::nodes::MenuValue::value.
Referenced by get_filter_kernel(), and is_edge_filter().
|
inline |
Definition at line 211 of file node_composite_filter.cc.
References CMP_NODE_FILTER_KIRSCH, CMP_NODE_FILTER_LAPLACE, CMP_NODE_FILTER_PREWITT, CMP_NODE_FILTER_SHADOW, CMP_NODE_FILTER_SHARP_BOX, CMP_NODE_FILTER_SHARP_DIAMOND, CMP_NODE_FILTER_SOBEL, CMP_NODE_FILTER_SOFT, and get_type().
Referenced by execute_cpu(), and get_shader_name().
| blender::compositor::NodeOperation::NodeOperation | ( | Context & | context, |
| DNode | node ) |
Definition at line 39 of file node_operation.cc.