15 entries_.
add(key, value);
39 if (cryptomatte_hash.length() || cryptomatte_conversion.length() ||
40 cryptomatte_manifest.length())
42 add_cryptomatte_entry(layer_name,
"name", layer_name);
44 if (cryptomatte_hash.length()) {
45 add_cryptomatte_entry(layer_name,
"hash", cryptomatte_hash);
47 if (cryptomatte_conversion.length()) {
48 add_cryptomatte_entry(layer_name,
"conversion", cryptomatte_conversion);
50 if (cryptomatte_manifest.length()) {
51 add_cryptomatte_entry(layer_name,
"manifest", cryptomatte_manifest);
96 if (key == data->hash_key) {
99 else if (key == data->conversion_key) {
102 else if (key == data->manifest_key) {
void BKE_render_result_stamp_data(RenderResult *rr, const char *key, const char *value)
bool add(const Key &key, const Value &value)
ItemIterator items() const
bool contains(const Key &key) const
Value pop_default(const Key &key, const Value &default_value)
DEGForeachIDComponentCallback callback
std::string BKE_cryptomatte_meta_data_key(const StringRef layer_name, const StringRefNull key_name)
constexpr blender::StringRef META_DATA_KEY_CRYPTOMATTE_CONVERSION("cryptomatte/{hash}/conversion")
constexpr blender::StringRef META_DATA_KEY_CRYPTOMATTE_HASH("cryptomatte/{hash}/hash")
constexpr blender::StringRef META_DATA_KEY_CRYPTOMATTE_MANIFEST("cryptomatte/{hash}/manifest")