|
Blender V5.3
|
#include <DNA_modifier_types.h>
Public Attributes | |
| char * | id_name = nullptr |
| char * | lib_name = nullptr |
| struct ID * | id = nullptr |
| int | id_type = 0 |
| 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 2464 of file DNA_modifier_types.h.
| char blender::NodesModifierDataBlock::_pad[4] = {} |
Definition at line 2480 of file DNA_modifier_types.h.
ID that this is mapped to.
Definition at line 2477 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings(), and blender::nodes_modifier_data_block_destruct().
| char* blender::NodesModifierDataBlock::id_name = nullptr |
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 2470 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 blender::NodesModifierDataBlock::id_type = 0 |
Type of ID that is referenced by this mapping.
Definition at line 2479 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings().
| char* blender::NodesModifierDataBlock::lib_name = nullptr |
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 2475 of file DNA_modifier_types.h.
Referenced by blender::add_missing_data_block_mappings(), blender::copy_data(), and blender::nodes_modifier_data_block_destruct().