|
Blender V4.3
|
Inherits blender::realtime_compositor::NodeOperation.
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 94 of file node_composite_defocus.cc.
|
inline |
Definition at line 149 of file node_composite_defocus.cc.
References blender::realtime_compositor::NodeOperation::bnode(), compute_defocus_radius_from_depth(), and compute_defocus_radius_from_scale().
Referenced by execute().
|
inline |
Definition at line 184 of file node_composite_defocus.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::NodeOperation::bnode(), blender::realtime_compositor::compute_dispatch_threads_at_least(), compute_distance_to_image_of_focus(), compute_maximum_defocus_radius(), compute_pixels_per_meter(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Context::create_result(), blender::realtime_compositor::Result::domain(), get_f_stop(), get_focal_length(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::morphological_blur(), blender::realtime_compositor::Result::release(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by compute_defocus_radius().
|
inline |
Definition at line 159 of file node_composite_defocus.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::NodeOperation::bnode(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Context::create_result(), blender::realtime_compositor::Result::domain(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by compute_defocus_radius().
|
inline |
Definition at line 258 of file node_composite_defocus.cc.
References compute_focus_distance(), and get_focal_length().
Referenced by compute_defocus_radius_from_depth(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 275 of file node_composite_defocus.cc.
References BKE_camera_object_dof_distance(), and get_camera_object().
Referenced by compute_distance_to_image_of_focus().
|
inline |
Definition at line 223 of file node_composite_defocus.cc.
References blender::realtime_compositor::NodeOperation::bnode(), compute_maximum_diameter_of_circle_of_confusion(), compute_pixels_per_meter(), and blender::math::min().
Referenced by compute_defocus_radius_from_depth(), and execute().
|
inline |
Definition at line 244 of file node_composite_defocus.cc.
References blender::math::abs(), compute_distance_to_image_of_focus(), get_f_stop(), and get_focal_length().
Referenced by compute_maximum_defocus_radius().
|
inline |
Definition at line 287 of file node_composite_defocus.cc.
References CAMERA_SENSOR_FIT_AUTO, CAMERA_SENSOR_FIT_HOR, CAMERA_SENSOR_FIT_VERT, blender::realtime_compositor::Operation::compute_domain(), DEFAULT_SENSOR_WIDTH, get_camera(), and blender::realtime_compositor::Domain::size.
Referenced by compute_defocus_radius_from_depth(), and compute_maximum_defocus_radius().
|
inlineoverridevirtual |
Implements blender::realtime_compositor::Operation.
Definition at line 98 of file node_composite_defocus.cc.
References blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::NodeOperation::bnode(), blender::realtime_compositor::StaticCacheManager::bokeh_kernels, blender::realtime_compositor::Context::cache_manager(), blender::math::ceil(), compute_defocus_radius(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), compute_maximum_defocus_radius(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::BokehKernelContainer::get(), 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_1b(), GPU_shader_uniform_1i(), GPU_texture_filter_mode(), and blender::realtime_compositor::Result::unbind_as_texture().
|
inline |
Definition at line 318 of file node_composite_defocus.cc.
References Object::data, get_camera_object(), OB_CAMERA, and Object::type.
Referenced by compute_pixels_per_meter(), and get_focal_length().
|
inline |
Definition at line 328 of file node_composite_defocus.cc.
References Scene::camera, and get_scene().
Referenced by compute_focus_distance(), and get_camera().
|
inline |
Definition at line 313 of file node_composite_defocus.cc.
References blender::realtime_compositor::NodeOperation::bnode(), and blender::math::max().
Referenced by compute_defocus_radius_from_depth(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 267 of file node_composite_defocus.cc.
References get_camera(), and blender::math::max().
Referenced by compute_defocus_radius_from_depth(), compute_distance_to_image_of_focus(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 333 of file node_composite_defocus.cc.
References blender::realtime_compositor::NodeOperation::bnode(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Context::get_scene(), and bNode::id.
Referenced by get_camera_object().
Definition at line 39 of file node_operation.cc.