14 entries_.
add(key, value);
31 if (cryptomatte_hash.length() || cryptomatte_conversion.length() ||
32 cryptomatte_manifest.length()) {
33 add_cryptomatte_entry(layer_name,
"name", layer_name);
35 if (cryptomatte_hash.length()) {
36 add_cryptomatte_entry(layer_name,
"hash", cryptomatte_hash);
38 if (cryptomatte_conversion.length()) {
39 add_cryptomatte_entry(layer_name,
"conversion", cryptomatte_conversion);
41 if (cryptomatte_manifest.length()) {
42 add_cryptomatte_entry(layer_name,
"manifest", cryptomatte_manifest);
79 if (key ==
data->hash_key) {
82 else if (key ==
data->conversion_key) {
85 else if (key ==
data->manifest_key) {
void BKE_render_result_stamp_data(struct RenderResult *rr, const char *key, const char *value)
bool add(const Key &key, const Value &value)
ItemIterator items() const
Value pop_default(const Key &key, const Value &default_value)
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")