Blender V5.0
blender::nodes::node_geo_bake_cc::DummyDataBlockMap Struct Reference

Inherits blender::bke::bake::BakeDataBlockMap.

Public Member Functions

IDlookup_or_remember_missing (const bake::BakeDataBlockID &key) override
void try_add (ID &id) override

Detailed Description

This is used when the bake node should just pass-through the data and the caller of geometry nodes should not have to care about this.

Definition at line 178 of file node_geo_bake.cc.

Member Function Documentation

◆ lookup_or_remember_missing()

ID * blender::nodes::node_geo_bake_cc::DummyDataBlockMap::lookup_or_remember_missing ( const bake::BakeDataBlockID & key)
inlineoverridevirtual

Tries to retrieve the data block for the given key. If it's not explicitly mapped, it might be added to the mapping. If it's still not found, null is returned.

Implements blender::bke::bake::BakeDataBlockMap.

Definition at line 184 of file node_geo_bake.cc.

References lock.

◆ try_add()

void blender::nodes::node_geo_bake_cc::DummyDataBlockMap::try_add ( ID & id)
inlineoverridevirtual

Tries to add the data block to the map. This may not succeed in all cases, e.g. if the implementation does not allow inserting new mapping items.

Implements blender::bke::bake::BakeDataBlockMap.

Definition at line 190 of file node_geo_bake.cc.

References lock.


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