|
Blender V4.3
|
Inherits blender::realtime_compositor::NodeOperation.
Public Member Functions | |
| void | execute () override |
| void | execute_alpha_crop () |
| void | execute_image_crop () |
| bool | get_is_image_crop () |
| bool | get_is_relative () |
| bool | is_identity () |
| void | compute_cropping_bounds (int2 &lower_bound, int2 &upper_bound) |
| NodeOperation (Context &context, DNode node) | |
Public Member Functions inherited from blender::realtime_compositor::NodeOperation | |
| NodeOperation (Context &context, DNode node) | |
| void | evaluate () override |
| void | compute_results_reference_counts (const Schedule &schedule) |
Public Member Functions inherited from blender::realtime_compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| 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::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::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 |
Definition at line 75 of file node_composite_crop.cc.
|
inline |
Definition at line 189 of file node_composite_crop.cc.
References blender::realtime_compositor::NodeOperation::bnode(), blender::realtime_compositor::Result::domain(), NodeTwoXYs::fac_x1, NodeTwoXYs::fac_x2, NodeTwoXYs::fac_y1, NodeTwoXYs::fac_y2, blender::realtime_compositor::Operation::get_input(), get_is_relative(), max_ii(), min_ii(), blender::realtime_compositor::Domain::size, NodeTwoXYs::x1, NodeTwoXYs::x2, NodeTwoXYs::y1, and NodeTwoXYs::y2.
Referenced by execute_alpha_crop(), execute_image_crop(), and is_identity().
|
inlineoverridevirtual |
Implements blender::realtime_compositor::Operation.
Definition at line 79 of file node_composite_crop.cc.
References execute_alpha_crop(), execute_image_crop(), blender::realtime_compositor::Operation::get_input(), get_is_image_crop(), blender::realtime_compositor::Operation::get_result(), is_identity(), and blender::realtime_compositor::Result::pass_through().
|
inline |
Definition at line 97 of file node_composite_crop.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), compute_cropping_bounds(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_2iv(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 124 of file node_composite_crop.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), compute_cropping_bounds(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_2iv(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 159 of file node_composite_crop.cc.
References blender::realtime_compositor::NodeOperation::bnode(), and bNode::custom1.
Referenced by execute().
|
inline |
Definition at line 164 of file node_composite_crop.cc.
References blender::realtime_compositor::NodeOperation::bnode(), and bNode::custom2.
Referenced by compute_cropping_bounds().
|
inline |
Definition at line 170 of file node_composite_crop.cc.
References compute_cropping_bounds(), and blender::realtime_compositor::Operation::get_input().
Referenced by execute().
Definition at line 39 of file node_operation.cc.