|
Blender V4.3
|
#include <DNA_modifier_types.h>
Public Attributes | |
| char * | id_name |
| char * | lib_name |
| struct ID * | id |
| int | id_type |
| char | _pad [4] |
Maps a name (+ optional library name) to a data-block. The name can be stored on disk and is remapped to the data-block when the data is loaded.
At run-time, #BakeDataBlockID is used to pair up the data-block and library name.
Definition at line 2388 of file DNA_modifier_types.h.
| char NodesModifierDataBlock::_pad[4] |
Definition at line 2404 of file DNA_modifier_types.h.
| struct ID* NodesModifierDataBlock::id |
ID that this is mapped to.
Definition at line 2401 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings(), and blender::nodes_modifier_data_block_destruct().
| char* NodesModifierDataBlock::id_name |
Name of the data-block. Can be empty in which case the name of the id below is used. This only needs to be set manually when the name stored on disk does not exist in the .blend file anymore, because e.g. the ID has been renamed.
Definition at line 2394 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings(), blender::copy_data(), and blender::nodes_modifier_data_block_destruct().
| int NodesModifierDataBlock::id_type |
Type of ID that is referenced by this mapping.
Definition at line 2403 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings().
| char* NodesModifierDataBlock::lib_name |
Name of the library the ID is in. Can be empty when the ID is not linked or when id_name is empty as well and thus the names from the id below are used.
Definition at line 2399 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings(), blender::copy_data(), and blender::nodes_modifier_data_block_destruct().