Blender
V3.3
|
#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 CryptomatteSession * | session |
blender::Map< std::string, std::string > | hash_to_layer_name |
Definition at line 91 of file BKE_cryptomatte.hh.
|
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().
|
static |
Definition at line 598 of file cryptomatte.cc.
References data, blender::StringRefBase::endswith(), extract_layer_hash(), blender::bke::cryptomatte::manifest::from_manifest(), and blender::StringRefBase::startswith().
Referenced by CryptomatteSession::CryptomatteSession().
|
static |
Definition at line 580 of file cryptomatte.cc.
References data, blender::StringRefBase::endswith(), extract_layer_hash(), and blender::StringRefBase::startswith().
Referenced by CryptomatteSession::CryptomatteSession().
blender::Map<std::string, std::string> blender::bke::cryptomatte::CryptomatteStampDataCallbackData::hash_to_layer_name |
Definition at line 93 of file BKE_cryptomatte.hh.
struct CryptomatteSession* blender::bke::cryptomatte::CryptomatteStampDataCallbackData::session |
Definition at line 92 of file BKE_cryptomatte.hh.
Referenced by CryptomatteSession::CryptomatteSession().