Blender V4.5
WriteData Struct Reference

Classes

struct  [struct].buffer
struct  [struct].validation_data

Public Attributes

const SDNAsdna
std::ostream * debug_dst = nullptr
struct  buffer
bool is_writing_id
struct  validation_data
blender::Set< const void * > per_id_written_shared_addresses
MemFileWriteData mem
bool use_memfile
WriteWrapww

Detailed Description

Definition at line 410 of file writefile.cc.

Member Data Documentation

◆ buffer

◆ debug_dst

std::ostream* WriteData::debug_dst = nullptr

◆ is_writing_id

bool WriteData::is_writing_id

Whether writefile code is currently writing an ID.

Definition at line 432 of file writefile.cc.

Referenced by mywrite_id_begin(), mywrite_id_end(), and write_at_address_validate().

◆ mem

MemFileWriteData WriteData::mem

MemFile writing (used for undo).

Definition at line 455 of file writefile.cc.

Referenced by BLO_write_shared(), mywrite_begin(), mywrite_end(), mywrite_id_begin(), mywrite_id_end(), and writedata_do_write().

◆ per_id_written_shared_addresses

blender::Set<const void *> WriteData::per_id_written_shared_addresses

Keeps track of which shared data has been written for the current ID. This is necessary to avoid writing the same data more than once.

Definition at line 452 of file writefile.cc.

Referenced by BLO_write_shared(), and mywrite_id_end().

◆ sdna

const SDNA* WriteData::sdna

◆ use_memfile

bool WriteData::use_memfile

◆ validation_data

◆ ww

WriteWrap* WriteData::ww

Wrap writing, so we can use zstd or other compression types later, see: G_FILE_COMPRESS Will be nullptr for UNDO.

Definition at line 464 of file writefile.cc.

Referenced by writedata_do_write(), and writedata_new().


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