|
Blender V4.3
|
Inherits blender::realtime_compositor::NodeOperation.
Inherited by blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation, and blender::nodes::node_composite_legacy_cryptomatte_cc::LegacyCryptoMatteOperation.
Public Member Functions | |
| virtual Result & | get_input_image ()=0 |
| virtual Vector< GPUTexture * > | get_layers ()=0 |
| virtual int2 | get_layers_lower_bound () |
| void | execute () override |
| void | allocate_invalid () |
| void | compute_pick (Vector< GPUTexture * > &layers) |
| Result | compute_matte (Vector< GPUTexture * > &layers) |
| void | compute_image (Result &matte) |
| Vector< float > | get_identifiers () |
| 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 231 of file node_composite_cryptomatte.cc.
|
inline |
Definition at line 281 of file node_composite_cryptomatte.cc.
References blender::realtime_compositor::Result::allocate_invalid(), blender::realtime_compositor::Operation::get_result(), and blender::realtime_compositor::Result::should_compute().
Referenced by execute().
|
inline |
Definition at line 378 of file node_composite_cryptomatte.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::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::context(), get_input_image(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 335 of file node_composite_cryptomatte.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::context(), blender::realtime_compositor::Context::create_result(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), get_identifiers(), get_layers_lower_bound(), blender::realtime_compositor::Context::get_shader(), GPU_DATA_FLOAT, GPU_shader_bind(), GPU_shader_get_sampler_binding(), GPU_shader_unbind(), GPU_shader_uniform_1f_array(), GPU_shader_uniform_1i(), GPU_shader_uniform_2iv(), GPU_texture_bind(), GPU_texture_clear(), GPU_texture_unbind(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::realtime_compositor::Result::unbind_as_image().
Referenced by execute().
|
inline |
Definition at line 301 of file node_composite_cryptomatte.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::Operation::compute_domain(), blender::realtime_compositor::Operation::context(), get_layers_lower_bound(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_get_sampler_binding(), GPU_shader_unbind(), GPU_shader_uniform_2iv(), GPU_texture_bind(), GPU_texture_unbind(), blender::realtime_compositor::MetaData::is_non_color_data, blender::realtime_compositor::Result::meta_data, blender::realtime_compositor::Result::set_precision(), and blender::realtime_compositor::Result::unbind_as_image().
Referenced by execute().
|
inlineoverridevirtual |
Implements blender::realtime_compositor::Operation.
Definition at line 248 of file node_composite_cryptomatte.cc.
References allocate_invalid(), compute_image(), compute_matte(), compute_pick(), get_layers(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Result::should_compute(), and blender::realtime_compositor::Result::steal_data().
|
inline |
Definition at line 404 of file node_composite_cryptomatte.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::realtime_compositor::NodeOperation::bnode(), and LISTBASE_FOREACH.
Referenced by compute_matte().
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation.
Definition at line 243 of file node_composite_cryptomatte.cc.
Referenced by compute_matte(), and compute_pick().
Definition at line 39 of file node_operation.cc.