Blender V4.3
blender::NodesModifierBakeDataBlockMap Class Reference

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

Public Member Functions

IDlookup_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
 

Detailed Description

Definition at line 907 of file MOD_nodes.cc.

Member Function Documentation

◆ lookup_or_remember_missing()

ID * blender::NodesModifierBakeDataBlockMap::lookup_or_remember_missing ( const bake::BakeDataBlockID & key)
inlineoverridevirtual

◆ try_add()

void blender::NodesModifierBakeDataBlockMap::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 928 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.

Member Data Documentation

◆ new_mappings

Map<bake::BakeDataBlockID, ID *> blender::NodesModifierBakeDataBlockMap::new_mappings

Definition at line 913 of file MOD_nodes.cc.

◆ old_mappings

Map<bake::BakeDataBlockID, ID *> blender::NodesModifierBakeDataBlockMap::old_mappings

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