|
Blender V4.5
|
Inherits blender::bke::bake::BakeDataBlockMap.
Public Member Functions | |
| ID * | lookup_or_remember_missing (const bake::BakeDataBlockID &key) override |
| void | try_add (ID &id) override |
Public Attributes | |
| Map< bake::BakeDataBlockID, ID * > | old_mappings |
| Map< bake::BakeDataBlockID, ID * > | new_mappings |
Definition at line 957 of file MOD_nodes.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 965 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), lock, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add().
|
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 978 of file MOD_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and lock.
| Map<bake::BakeDataBlockID, ID *> blender::NodesModifierBakeDataBlockMap::new_mappings |
Definition at line 963 of file MOD_nodes.cc.
| Map<bake::BakeDataBlockID, ID *> blender::NodesModifierBakeDataBlockMap::old_mappings |
Definition at line 962 of file MOD_nodes.cc.
Referenced by blender::NodesModifierSimulationParams::init_simulation_info().