Blender  V3.3
Static Public Member Functions | Public Attributes | List of all members
blender::bke::cryptomatte::CryptomatteStampDataCallbackData Struct Reference

#include <BKE_cryptomatte.hh>

Static Public Member Functions

static blender::StringRef extract_layer_hash (blender::StringRefNull key)
 
static void extract_layer_names (void *_data, const char *propname, char *propvalue, int len)
 
static void extract_layer_manifest (void *_data, const char *propname, char *propvalue, int len)
 

Public Attributes

struct CryptomatteSessionsession
 
blender::Map< std::string, std::string > hash_to_layer_name
 

Detailed Description

Definition at line 91 of file BKE_cryptomatte.hh.

Member Function Documentation

◆ extract_layer_hash()

blender::StringRef blender::bke::cryptomatte::CryptomatteStampDataCallbackData::extract_layer_hash ( blender::StringRefNull  key)
static

Extract the hash from a stamp data key.

Cryptomatte keys are formatted as "cryptomatte/{layer_hash}/{attribute}".

Definition at line 562 of file cryptomatte.cc.

References BLI_assert, blender::StringRefBase::find_first_of(), blender::StringRefBase::find_last_of(), blender::StringRefBase::not_found, blender::StringRefBase::startswith(), and blender::StringRefBase::substr().

Referenced by extract_layer_manifest(), extract_layer_names(), and blender::bke::cryptomatte::tests::TEST().

◆ extract_layer_manifest()

void blender::bke::cryptomatte::CryptomatteStampDataCallbackData::extract_layer_manifest ( void _data,
const char *  propname,
char *  propvalue,
int  len 
)
static

◆ extract_layer_names()

void blender::bke::cryptomatte::CryptomatteStampDataCallbackData::extract_layer_names ( void _data,
const char *  propname,
char *  propvalue,
int  len 
)
static

Member Data Documentation

◆ hash_to_layer_name

blender::Map<std::string, std::string> blender::bke::cryptomatte::CryptomatteStampDataCallbackData::hash_to_layer_name

Definition at line 93 of file BKE_cryptomatte.hh.

◆ session

struct CryptomatteSession* blender::bke::cryptomatte::CryptomatteStampDataCallbackData::session

Definition at line 92 of file BKE_cryptomatte.hh.

Referenced by CryptomatteSession::CryptomatteSession().


The documentation for this struct was generated from the following files: