Blender V4.5
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 93 of file BKE_cryptomatte.hh.

Member Function Documentation

◆ add_hash()

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

Definition at line 575 of file cryptomatte.cc.

References hashes, and name.

Referenced by add_ID(), and blender::bke::cryptomatte::manifest::from_manifest().

◆ add_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

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