MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set()

template<typename T >
ExecutionContext & MayaFlux::Yantra::ExecutionContext::set ( std::string  key,
T &&  value 
)
inline

Insert or update metadata value.

Adds or replaces a value in the metadata store.

Template Parameters
TValue type
Parameters
keyMetadata key
valueValue to store
Returns
Reference to this context for fluent chaining

Definition at line 198 of file ExecutionContext.hpp.

199 {
200 execution_metadata[std::move(key)] = std::forward<T>(value);
201 return *this;
202 }
glm::vec3 value
std::unordered_map< std::string, std::any > execution_metadata
Arbitrary metadata parameters used by operations.

References value.