|
Blender V5.0
|
Functions | |
| Set< std::string > | get_used_passes (const Scene &scene, const ViewLayer *view_layer) |
| bool | is_viewport_compositor_used (const bContext &context) |
| static void | add_passes_used_by_render_layer_node (const bNode *node, Set< std::string > &used_passes) |
| static void | add_passes_used_by_group_input_node (const bNode *node, Set< std::string > &used_passes) |
| static void | add_passes_used_by_cryptomatte_node (const bNode *node, const ViewLayer *view_layer, Set< std::string > &used_passes) |
| static void | add_used_passes_recursive (const bNodeTree *node_tree, const ViewLayer *view_layer, const bool is_root_tree, Set< const bNodeTree * > &node_trees_already_searched, Set< std::string > &used_passes) |
|
static |
Definition at line 66 of file blenkernel/intern/compositor.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_cryptomatte_init_from_scene(), blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), blender::math::ceil(), CMP_NODE_CRYPTOMATTE_SOURCE_RENDER, blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), ViewLayer::cryptomatte_flag, ViewLayer::cryptomatte_levels, bNode::custom1, data, i, bNode::id, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), ViewLayer::name, RE_PASSNAME_CRYPTOMATTE_ASSET, RE_PASSNAME_CRYPTOMATTE_MATERIAL, RE_PASSNAME_CRYPTOMATTE_OBJECT, bNode::storage, VIEW_LAYER_CRYPTOMATTE_ASSET, VIEW_LAYER_CRYPTOMATTE_MATERIAL, and VIEW_LAYER_CRYPTOMATTE_OBJECT.
Referenced by add_used_passes_recursive().
|
static |
Definition at line 50 of file blenkernel/intern/compositor.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), output, and RE_PASSNAME_COMBINED.
Referenced by add_used_passes_recursive().
|
static |
Definition at line 36 of file blenkernel/intern/compositor.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), output, and NodeImageLayer::pass_name.
Referenced by add_used_passes_recursive().
|
static |
Definition at line 130 of file blenkernel/intern/compositor.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), add_passes_used_by_cryptomatte_node(), add_passes_used_by_group_input_node(), add_passes_used_by_render_layer_node(), add_used_passes_recursive(), CMP_NODE_CRYPTOMATTE, CMP_NODE_R_LAYERS, NODE_CUSTOM_GROUP, NODE_GROUP, and NODE_GROUP_INPUT.
Referenced by add_used_passes_recursive(), and get_used_passes().
| Set< std::string > blender::bke::compositor::get_used_passes | ( | const Scene & | scene, |
| const ViewLayer * | view_layer ) |
Definition at line 173 of file blenkernel/intern/compositor.cc.
References add_used_passes_recursive(), and Scene::compositing_node_group.
Referenced by blender::draw::gpencil::Instance::begin_sync(), and blender::eevee::Film::init().
| bool blender::bke::compositor::is_viewport_compositor_used | ( | const bContext & | context | ) |
Definition at line 182 of file blenkernel/intern/compositor.cc.
References bScreen::areabase, Scene::compositing_node_group, CTX_data_scene(), CTX_wm_manager(), LISTBASE_FOREACH, OB_MATERIAL, View3D::shading, SPACE_VIEW3D, SpaceLink::spacetype, View3DShading::type, View3DShading::use_compositor, V3D_SHADING_USE_COMPOSITOR_DISABLED, wmWindowManager::windows, and WM_window_get_active_screen().
Referenced by blender::nodes::node_composite_cryptomatte_cc::node_extra_info(), and blender::nodes::node_composite_render_layer_cc::node_extra_info().