Blender
V3.3
|
#include <COM_MetaData.h>
Public Member Functions | |
void | add (const blender::StringRef key, const blender::StringRef value) |
void | replace_hash_neutral_cryptomatte_keys (const blender::StringRef layer_name) |
void | add_to_render_result (RenderResult *render_result) const |
Definition at line 29 of file COM_MetaData.h.
void blender::compositor::MetaData::add | ( | const blender::StringRef | key, |
const blender::StringRef | value | ||
) |
Definition at line 12 of file COM_MetaData.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
void blender::compositor::MetaData::add_to_render_result | ( | RenderResult * | render_result | ) | const |
Definition at line 46 of file COM_MetaData.cc.
References BKE_render_result_stamp_data(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
void blender::compositor::MetaData::replace_hash_neutral_cryptomatte_keys | ( | const blender::StringRef | layer_name | ) |
Replace the hash neutral cryptomatte keys with hashed versions.
When a conversion happens it will also add the cryptomatte name key with the given layer_name
.
Definition at line 24 of file COM_MetaData.cc.
References blender::compositor::META_DATA_KEY_CRYPTOMATTE_CONVERSION(), blender::compositor::META_DATA_KEY_CRYPTOMATTE_HASH(), blender::compositor::META_DATA_KEY_CRYPTOMATTE_MANIFEST(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_default().