Blender V4.3
blender::bke::cryptomatte::CryptomatteLayer Struct Reference

#include <BKE_cryptomatte.hh>

Public Member Functions

uint32_t add_ID (const ID &id)
 
void add_hash (blender::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< CryptomatteLayerread_from_manifest (blender::StringRefNull manifest)
 

Public Attributes

blender::Map< std::string, CryptomatteHashhashes
 

Detailed Description

Definition at line 96 of file BKE_cryptomatte.hh.

Member Function Documentation

◆ add_hash()

void CryptomatteLayer::add_hash ( blender::StringRef name,
CryptomatteHash cryptomatte_hash )

Definition at line 559 of file cryptomatte.cc.

References hashes.

Referenced by add_ID().

◆ add_ID()

uint32_t CryptomatteLayer::add_ID ( const ID & id)

◆ manifest()

std::string CryptomatteLayer::manifest ( ) const

◆ operator[]()

std::optional< std::string > CryptomatteLayer::operator[] ( float encoded_hash) const

◆ read_from_manifest()

std::unique_ptr< CryptomatteLayer > CryptomatteLayer::read_from_manifest ( blender::StringRefNull manifest)
static

Member Data Documentation

◆ hashes

blender::Map<std::string, CryptomatteHash> blender::bke::cryptomatte::CryptomatteLayer::hashes

Definition at line 97 of file BKE_cryptomatte.hh.

Referenced by add_hash(), and operator[]().


The documentation for this struct was generated from the following files: