|
Blender V5.3
|
#include <BKE_cryptomatte.hh>
Public Member Functions | |
| uint32_t | add_ID (const ID &id) |
| void | add_hash (StringRef name, CryptomatteHash cryptomatte_hash) |
| std::string | manifest () const |
| std::optional< std::string > | operator[] (float encoded_hash) const |
Static Public Member Functions | |
| static std::unique_ptr< CryptomatteLayer > | read_from_manifest (StringRefNull manifest) |
Public Attributes | |
| Map< std::string, CryptomatteHash > | hashes |
Definition at line 95 of file BKE_cryptomatte.hh.
| void blender::bke::cryptomatte::CryptomatteLayer::add_hash | ( | StringRef | name, |
| CryptomatteHash | cryptomatte_hash ) |
Definition at line 564 of file cryptomatte.cc.
References add_hash(), blender::BKE_cryptomatte_hash(), blender::BLI_strnlen(), MAX_NAME, and blender::StringRef::StringRef().
Referenced by blender::CryptomatteSession::CryptomatteSession(), and blender::CryptomatteSession::init().
| std::string blender::bke::cryptomatte::CryptomatteLayer::manifest | ( | ) | const |
Definition at line 591 of file cryptomatte.cc.
References blender::bke::cryptomatte::manifest::to_manifest().
Referenced by read_from_manifest().
| std::optional< std::string > blender::bke::cryptomatte::CryptomatteLayer::operator[] | ( | float | encoded_hash | ) | const |
Definition at line 580 of file cryptomatte.cc.
References blender::BKE_cryptomatte_hash_to_float(), hashes, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
|
static |
Definition at line 557 of file cryptomatte.cc.
References blender::bke::cryptomatte::manifest::from_manifest(), layer, and manifest().
Referenced by blender::bke::cryptomatte::tests::test_cryptomatte_manifest().
| Map<std::string, CryptomatteHash> blender::bke::cryptomatte::CryptomatteLayer::hashes |
Definition at line 96 of file BKE_cryptomatte.hh.
Referenced by add_hash(), and operator[]().