|
Blender V5.3
|
Inherits blender::compositor::NodeOperation.
Additional Inherited Members | |
| Protected Member Functions inherited from blender::compositor::NodeOperation | |
| void | add_warning (nodes::NodeWarningType type, std::string message) |
| void | log_data () override |
| const bNode & | node () const |
| Protected Member Functions inherited from blender::compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | evaluate_input_processors () |
| 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 162 of file node_composite_relative_to_pixel.cc.
|
inline |
Definition at line 164 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Operation::context(), blender::compositor::Operation::get_input_descriptor(), blender::compositor::NodeOperation::node(), blender::compositor::NodeOperation::NodeOperation(), and blender::compositor::InputDescriptor::skip_type_conversion.
Referenced by blender::nodes::node_composite_relative_to_pixel_cc::get_compositor_operation().
|
inline |
Definition at line 372 of file node_composite_relative_to_pixel.cc.
References BLI_assert_unreachable, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_DIAGONAL, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_GREATER, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_PER_DIMENSION, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_SMALLER, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_X, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_Y, blender::compositor::Domain::display_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), get_reference_dimension(), blender::compositor::Result::is_single_value(), blender::math::length(), blender::compositor::Domain::realize_transformation(), blender::math::reduce_max(), and blender::math::reduce_min().
Referenced by execute_float_cpu(), execute_float_gpu(), execute_float_per_dimension_cpu(), execute_float_per_dimension_gpu(), execute_float_per_dimension_single(), execute_float_single(), execute_vector_cpu(), execute_vector_gpu(), and execute_vector_single().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 170 of file node_composite_relative_to_pixel.cc.
References blender::CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_FLOAT, blender::CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_PER_DIMENSION, execute_float(), execute_float_per_dimension(), execute_float_per_dimension_single(), execute_float_single(), execute_vector(), execute_vector_single(), get_data_type(), blender::compositor::Operation::get_input(), get_reference_dimension(), and blender::compositor::Result::is_single_value().
|
inline |
Definition at line 216 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Operation::context(), execute_float_cpu(), and execute_float_gpu().
Referenced by execute().
|
inline |
Definition at line 248 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::gpu::shader::metadata::int2, output, and blender::compositor::parallel_for().
Referenced by execute_float().
|
inline |
Definition at line 226 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), compute_reference_size(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by execute_float().
|
inline |
Definition at line 272 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Operation::context(), execute_float_per_dimension_cpu(), and execute_float_per_dimension_gpu().
Referenced by execute().
|
inline |
Definition at line 304 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::gpu::shader::metadata::int2, output, and blender::compositor::parallel_for().
Referenced by execute_float_per_dimension().
|
inline |
Definition at line 282 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), compute_reference_size(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_2fv(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by execute_float_per_dimension().
|
inline |
Definition at line 260 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Result::get_single_value_default(), and output.
Referenced by execute().
|
inline |
Definition at line 204 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Result::get_single_value_default(), and output.
Referenced by execute().
|
inline |
Definition at line 328 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Operation::context(), execute_vector_cpu(), and execute_vector_gpu().
Referenced by execute().
|
inline |
Definition at line 360 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::gpu::shader::metadata::int2, output, and blender::compositor::parallel_for().
Referenced by execute_vector().
|
inline |
Definition at line 338 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), compute_reference_size(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_2fv(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by execute_vector().
|
inline |
Definition at line 316 of file node_composite_relative_to_pixel.cc.
References compute_reference_size(), blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Result::get_single_value_default(), and output.
Referenced by execute().
|
inline |
Definition at line 400 of file node_composite_relative_to_pixel.cc.
References blender::compositor::NodeOperation::node().
Referenced by execute().
|
inline |
Definition at line 405 of file node_composite_relative_to_pixel.cc.
References blender::compositor::NodeOperation::node().
Referenced by compute_reference_size(), and execute().