|
Blender V4.3
|
Inherits blender::bke::bake::BakeDataBlockMap.
Public Member Functions | |
| ID * | lookup_or_remember_missing (const bake::BakeDataBlockID &key) override |
| void | try_add (ID &id) override |
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 260 of file node_geo_bake.cc.
|
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 266 of file node_geo_bake.cc.
References lock, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default().
|
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 272 of file node_geo_bake.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and lock.