|
Blender V4.5
|
Inherits blender::compositor::NodeOperation.
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 87 of file node_composite_defocus.cc.
|
inline |
Definition at line 222 of file node_composite_defocus.cc.
Referenced by execute().
|
inline |
Definition at line 294 of file node_composite_defocus.cc.
References get_input(), blender::compositor::Result::is_single_value(), blender::compositor::morphological_blur(), and blender::compositor::Result::release().
|
inline |
Definition at line 347 of file node_composite_defocus.cc.
References blender::math::abs(), blender::compositor::Result::allocate_single_value(), blender::compositor::Result::allocate_texture(), blender::compositor::Result::domain(), get_input(), blender::compositor::Result::get_single_value(), blender::compositor::Result::is_single_value(), blender::math::min(), blender::compositor::parallel_for(), blender::compositor::Result::set_single_value(), and blender::compositor::Domain::size.
|
inline |
Definition at line 321 of file node_composite_defocus.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::Result::domain(), get_input(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Domain::size, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
|
inline |
Definition at line 230 of file node_composite_defocus.cc.
References get_input(), and blender::compositor::Result::is_single_value().
|
inline |
Definition at line 264 of file node_composite_defocus.cc.
References blender::compositor::Result::allocate_single_value(), blender::compositor::Result::allocate_texture(), blender::math::clamp(), blender::compositor::Result::domain(), get_input(), blender::compositor::Result::get_single_value(), blender::compositor::Result::is_single_value(), blender::compositor::parallel_for(), blender::compositor::Result::set_single_value(), and blender::compositor::Domain::size.
|
inline |
Definition at line 239 of file node_composite_defocus.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::Result::domain(), get_input(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Domain::size, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
|
inline |
Definition at line 429 of file node_composite_defocus.cc.
|
inline |
Definition at line 446 of file node_composite_defocus.cc.
References BKE_camera_object_dof_distance().
|
inline |
Definition at line 394 of file node_composite_defocus.cc.
References blender::math::min().
Referenced by execute().
|
inline |
Definition at line 415 of file node_composite_defocus.cc.
References blender::math::abs().
|
inline |
Definition at line 458 of file node_composite_defocus.cc.
References CAMERA_SENSOR_FIT_AUTO, CAMERA_SENSOR_FIT_HOR, CAMERA_SENSOR_FIT_VERT, DEFAULT_SENSOR_WIDTH, Camera::sensor_fit, Camera::sensor_x, Camera::sensor_y, and size().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 91 of file node_composite_defocus.cc.
References blender::compositor::NodeOperation::bnode(), blender::compositor::StaticCacheManager::bokeh_kernels, blender::compositor::Context::cache_manager(), blender::math::ceil(), compute_defocus_radius(), compute_maximum_defocus_radius(), blender::compositor::Operation::context(), execute_cpu(), execute_gpu(), blender::compositor::BokehKernelContainer::get(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), input, blender::compositor::Result::is_single_value(), output, and blender::compositor::Result::release().
|
inline |
Definition at line 155 of file node_composite_defocus.cc.
References blender::compositor::Operation::compute_domain(), output, blender::compositor::parallel_for(), blender::math::safe_divide(), blender::compositor::Result::sample_bilinear_extended(), and blender::compositor::Domain::size.
Referenced by execute().
|
inline |
Definition at line 124 of file node_composite_defocus.cc.
References blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), blender::compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), GPU_texture_filter_mode(), input, output, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 489 of file node_composite_defocus.cc.
References Object::data, OB_CAMERA, and Object::type.
|
inline |
Definition at line 499 of file node_composite_defocus.cc.
|
inline |
Definition at line 484 of file node_composite_defocus.cc.
References blender::math::max().
|
inline |
Definition at line 438 of file node_composite_defocus.cc.
References Camera::lens, and blender::math::max().
|
inline |
Definition at line 504 of file node_composite_defocus.cc.
References Scene::id.
Definition at line 39 of file node_operation.cc.