|
Blender V5.3
|
#include <BLO_read_write.hh>
Public Member Functions | |
| ID * | get () |
File Writing (Private) | |
| BLO_Write_IDBuffer (ID &id, bool is_undo, bool is_placeholder) | |
| BLO_Write_IDBuffer (ID &id, BlendWriter *writer) | |
Makes a shallow copy of the ID for use in #IDTypeInfo::blend_write. The functions are currently allowed to make shallow changes to the data-block which won't be written to the file. For example, #mesh_blend_write assumes that the passed in Mesh is a shallow copy already.
Definition at line 418 of file BLO_read_write.hh.
| blender::BLO_Write_IDBuffer::BLO_Write_IDBuffer | ( | ID & | id, |
| bool | is_undo, | ||
| bool | is_placeholder ) |
Definition at line 1619 of file writefile.cc.
References blender::BKE_idtype_get_info_from_id(), blender::ID::flag, ID_TAG_KEEP_ON_UNDO, blender::ID::lib, blender::ID::name, blender::ID::recalc_up_to_undo_push, blender::ID::session_uid, sizeof, blender::STRNCPY(), blender::gpu::struct_size(), blender::IDTypeInfo::struct_size, and blender::ID::tag.
Referenced by BLO_Write_IDBuffer().
| blender::BLO_Write_IDBuffer::BLO_Write_IDBuffer | ( | ID & | id, |
| BlendWriter * | writer ) |
Definition at line 1657 of file writefile.cc.
References BLO_Write_IDBuffer(), and blender::false.
|
inline |
Definition at line 427 of file BLO_read_write.hh.
Referenced by blender::light_blend_write(), blender::linestyle_blend_write(), blender::material_blend_write(), blender::scene_blend_write(), blender::scene_blend_write_compositor_forward_compat(), blender::texture_blend_write(), blender::world_blend_write(), and blender::write_id().