|
Blender V4.3
|
#include <COM_MetaData.h>
Public Member Functions | |
| void | add (const blender::StringRef key, const blender::StringRef value) |
| bool | is_cryptomatte_layer () const |
| void | replace_hash_neutral_cryptomatte_keys (const blender::StringRef layer_name) |
| void | add_to_render_result (RenderResult *render_result) const |
| void | for_each_entry (FunctionRef< void(const std::string &, const std::string &)> callback) const |
Public Attributes | |
| bool | is_data = false |
| bool | is_4d_vector = false |
Definition at line 31 of file COM_MetaData.h.
| void blender::compositor::MetaData::add | ( | const blender::StringRef | key, |
| const blender::StringRef | value ) |
Definition at line 13 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 55 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::for_each_entry | ( | FunctionRef< void(const std::string &, const std::string &)> | callback | ) | const |
Definition at line 62 of file COM_MetaData.cc.
References callback, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
| bool blender::compositor::MetaData::is_cryptomatte_layer | ( | ) | const |
Definition at line 18 of file COM_MetaData.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::compositor::META_DATA_KEY_CRYPTOMATTE_CONVERSION(), blender::compositor::META_DATA_KEY_CRYPTOMATTE_HASH(), and blender::compositor::META_DATA_KEY_CRYPTOMATTE_MANIFEST().
| 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 32 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().
| bool blender::compositor::MetaData::is_4d_vector = false |
Definition at line 44 of file COM_MetaData.h.
| bool blender::compositor::MetaData::is_data = false |
Definition at line 40 of file COM_MetaData.h.