Blender V5.0
node_composite_cryptomatte.cc File Reference
#include <cstring>
#include <string>
#include <fmt/format.h>
#include "node_composite_util.hh"
#include "BLI_assert.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.h"
#include "BLI_math_vector_types.hh"
#include "BLI_string_ref.hh"
#include "BLI_string_utf8.h"
#include "BLI_utildefines.h"
#include "BLI_vector.hh"
#include "IMB_imbuf_types.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "DNA_image_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "BKE_compositor.hh"
#include "BKE_context.hh"
#include "BKE_cryptomatte.hh"
#include "BKE_global.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_node.hh"
#include "UI_resources.hh"
#include "MEM_guardedalloc.h"
#include "RE_pipeline.h"
#include "NOD_node_extra_info.hh"
#include "COM_node_operation.hh"
#include "COM_result.hh"
#include "COM_utilities.hh"
#include <optional>

Go to the source code of this file.

Classes

class  blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation
class  blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation
class  blender::nodes::node_composite_legacy_cryptomatte_cc::LegacyCryptoMatteOperation

Namespaces

namespace  blender
namespace  blender::nodes
namespace  blender::nodes::node_composite_base_cryptomatte_cc
namespace  blender::nodes::node_composite_cryptomatte_cc
namespace  blender::nodes::node_composite_legacy_cryptomatte_cc

Functions

static void blender::nodes::node_composite_cryptomatte_cc::cmp_node_cryptomatte_declare (NodeDeclarationBuilder &b)
static void blender::nodes::node_composite_cryptomatte_cc::node_init_cryptomatte (bNodeTree *, bNode *node)
static void blender::nodes::node_composite_cryptomatte_cc::node_init_api_cryptomatte (const bContext *C, PointerRNA *ptr)
static void blender::nodes::node_composite_cryptomatte_cc::node_free_cryptomatte (bNode *node)
static void blender::nodes::node_composite_cryptomatte_cc::node_copy_cryptomatte (bNodeTree *, bNode *dest_node, const bNode *src_node)
static void blender::nodes::node_composite_cryptomatte_cc::node_update_cryptomatte (bNodeTree *ntree, bNode *node)
static void blender::nodes::node_composite_cryptomatte_cc::node_extra_info (NodeExtraInfoParams &parameters)
static NodeOperationblender::nodes::node_composite_cryptomatte_cc::get_compositor_operation (Context &context, DNode node)
static void blender::nodes::node_composite_legacy_cryptomatte_cc::node_init_cryptomatte_legacy (bNodeTree *ntree, bNode *node)
static NodeOperationblender::nodes::node_composite_legacy_cryptomatte_cc::get_compositor_operation (Context &context, DNode node)
Cryptomatte
static blender::bke::cryptomatte::CryptomatteSessionPtr cryptomatte_init_from_node_render (const bNode &node, const bool build_meta_data)
static blender::bke::cryptomatte::CryptomatteSessionPtr cryptomatte_init_from_node_image (const bNode &node)
static blender::bke::cryptomatte::CryptomatteSessionPtr cryptomatte_init_from_node (const bNode &node, const bool build_meta_data)
static CryptomatteEntrycryptomatte_find (const NodeCryptomatte &n, float encoded_hash)
static void cryptomatte_add (bNode &node, NodeCryptomatte &node_cryptomatte, float encoded_hash)
static void cryptomatte_remove (NodeCryptomatte &n, float encoded_hash)
void ntreeCompositCryptomatteSyncFromAdd (bNode *node)
void ntreeCompositCryptomatteSyncFromRemove (bNode *node)
void ntreeCompositCryptomatteUpdateLayerNames (bNode *node)
void ntreeCompositCryptomatteLayerPrefix (const bNode *node, char *r_prefix, size_t prefix_maxncpy)
CryptomatteSessionntreeCompositCryptomatteSession (bNode *node)
static void register_node_type_cmp_cryptomatte ()
Cryptomatte Legacy
bNodeSocketntreeCompositCryptomatteAddSocket (bNodeTree *ntree, bNode *node)
int ntreeCompositCryptomatteRemoveSocket (bNodeTree *ntree, bNode *node)
static void register_node_type_cmp_cryptomatte_legacy ()

Variables

static bke::bNodeSocketTemplate blender::nodes::node_composite_cryptomatte_cc::cmp_node_cryptomatte_out []

Function Documentation

◆ cryptomatte_add()

◆ cryptomatte_find()

CryptomatteEntry * cryptomatte_find ( const NodeCryptomatte & n,
float encoded_hash )
static

◆ cryptomatte_init_from_node()

◆ cryptomatte_init_from_node_image()

◆ cryptomatte_init_from_node_render()

blender::bke::cryptomatte::CryptomatteSessionPtr cryptomatte_init_from_node_render ( const bNode & node,
const bool build_meta_data )
static

◆ cryptomatte_remove()

void cryptomatte_remove ( NodeCryptomatte & n,
float encoded_hash )
static

◆ ntreeCompositCryptomatteAddSocket()

◆ ntreeCompositCryptomatteLayerPrefix()

◆ ntreeCompositCryptomatteRemoveSocket()

◆ ntreeCompositCryptomatteSession()

CryptomatteSession * ntreeCompositCryptomatteSession ( bNode * node)

Definition at line 228 of file node_composite_cryptomatte.cc.

References cryptomatte_init_from_node().

Referenced by eyedropper_init().

◆ ntreeCompositCryptomatteSyncFromAdd()

◆ ntreeCompositCryptomatteSyncFromRemove()

◆ ntreeCompositCryptomatteUpdateLayerNames()

◆ register_node_type_cmp_cryptomatte()

◆ register_node_type_cmp_cryptomatte_legacy()