Blender V5.3
compositor.cc File Reference
#include <limits>
#include <string>
#include <fmt/format.h>
#include "BLI_enum_flags.hh"
#include "BLI_index_range.hh"
#include "BLI_listbase.hh"
#include "BLI_math_base.hh"
#include "BLI_set.hh"
#include "BLI_string_ref.hh"
#include "BLI_string_utf8.hh"
#include "BLI_string_utils.hh"
#include "BLT_translation.hh"
#include "DNA_layer_types.h"
#include "DNA_node_types.h"
#include "DNA_object_enums.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_view3d_types.h"
#include "DNA_windowmanager_types.h"
#include "RNA_access.hh"
#include "RNA_path.hh"
#include "RNA_prototypes.hh"
#include "BLO_read_write.hh"
#include "BKE_anim_data.hh"
#include "BKE_animsys.hh"
#include "BKE_compositor.hh"
#include "BKE_compute_context_cache.hh"
#include "BKE_compute_contexts.hh"
#include "BKE_context.hh"
#include "BKE_cryptomatte.hh"
#include "BKE_global.hh"
#include "BKE_idprop.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_node.hh"
#include "BKE_node_legacy_types.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_zones.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_query.hh"
#include "WM_api.hh"
#include "IMB_imbuf.hh"
#include "NOD_dependencies.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::compositor

Functions

bool blender::bke::compositor::is_enabled (const Scene &scene, ExecutionMode mode)
SceneCompositorEffect * blender::bke::compositor::get_effect (const Scene &scene, StringRef name)
SceneCompositorEffect * blender::bke::compositor::get_active_effect (const Scene &scene)
bool blender::bke::compositor::is_effect_enabled (const SceneCompositorEffect &effect, ExecutionMode mode)
void blender::bke::compositor::set_active_effect (const Scene &scene, SceneCompositorEffect &effect)
void blender::bke::compositor::rename_effect (Scene &scene, SceneCompositorEffect &effect, StringRef new_name, bool update_animation_data=true)
SceneCompositorEffect & blender::bke::compositor::new_effect (Scene &scene, StringRef name)
SceneCompositorEffect & blender::bke::compositor::duplicate_effect (Scene &scene, SceneCompositorEffect &source_effect)
static void blender::bke::compositor::free_effect (SceneCompositorEffect &effect, const bool decrement_user_count)
void blender::bke::compositor::remove_effect (Scene &scene, SceneCompositorEffect &effect)
void blender::bke::compositor::copy_effects (Scene &target_scene, const Scene &source_scene, const int flags)
void blender::bke::compositor::free_effects (Scene &scene)
void blender::bke::compositor::clear_effects (Scene &scene)
void blender::bke::compositor::for_each_id_in_effects (const Scene &scene, LibraryForeachIDData &data)
void blender::bke::compositor::write_effects (const Scene &scene, BlendWriter &writer)
void blender::bke::compositor::read_effects (Scene &scene, BlendDataReader &reader)
const SceneCompositorEffect * blender::bke::compositor::get_effect_from_property (const PointerRNA &property_ptr)
void blender::bke::compositor::update_effect_node_group_interface (Main &main, Scene &scene, SceneCompositorEffect &effect)
static void blender::bke::compositor::add_passes_used_by_render_layer_node (const bNode *node, Set< std::string > &used_passes)
static void blender::bke::compositor::add_passes_used_by_group_input_node (const bNode *node, Set< std::string > &used_passes)
static void blender::bke::compositor::add_passes_used_by_cryptomatte_node (const bNode *node, const ViewLayer *view_layer, Set< std::string > &used_passes)
static void blender::bke::compositor::add_used_passes_recursive (const bNodeTree *node_tree, const ViewLayer *view_layer, const bool is_root_tree_of_first_effect, Set< const bNodeTree * > &node_trees_already_searched, Set< std::string > &used_passes)
Set< std::string > blender::bke::compositor::get_used_passes (const Scene &scene, const ViewLayer *view_layer, ExecutionMode mode)
bool blender::bke::compositor::is_viewport_compositor_enabled (const View3D &view_3d, const RegionView3D &region_view_3d)
bool blender::bke::compositor::is_viewport_compositor_used (const bContext &context)
void blender::bke::compositor::add_depsgraph_relations (Scene &scene, const SceneCompositorEffect &effect, DepsNodeHandle *compositor_output_depsgraph_node)
const ComputeContext * blender::bke::compositor::get_zone_viewer_compute_context (const bNode &node, const bke::bNodeTreeZone *zone, const ComputeContext &compute_context, bke::ComputeContextCache &compute_context_cache)
static const ComputeContext * blender::bke::compositor::compute_viewer_compute_context_recursive (const bNodeTree &node_group, const ComputeContext &compute_context, const bNodeInstanceKey instance_key, const bNodeInstanceKey active_node_group_instance_key, bke::ComputeContextCache &compute_context_cache)
const ComputeContext * blender::bke::compositor::compute_viewer_compute_context (const Scene &scene, bke::ComputeContextCache &compute_context_cache)
const ComputeContext * blender::bke::compositor::compute_viewer_compute_context (const Scene &scene, const bNodeTree &root_node_group, bke::ComputeContextCache &compute_context_cache)