Blender V5.3
#include "BLI_array.hh"
#include "BLI_linear_allocator.hh"
#include "BLI_map.hh"
#include "BLI_string_ref.hh"
#include "BLI_sys_types.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Classes

struct  blender::SDNA_StructMember
struct  blender::SDNA_Struct
struct  blender::SDNA

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SDNA_RAW_DATA_STRUCT_INDEX   0

Macro Definition Documentation

◆ SDNA_RAW_DATA_STRUCT_INDEX

#define SDNA_RAW_DATA_STRUCT_INDEX   0

The struct index representing type-less bytes buffers.

Although code has historically (pre-4.3) be fairly unreliable (logically incorrect, see inline code-comments for #DNA_struct_get_compareflags regarding this), most of read/write blend-file code would assume that the 0 value was raw data, so keep it at this value.

Definition at line 26 of file DNA_sdna_types.h.

Referenced by blender::blo_blendhandle_read_preview_rects(), blender::build_type_table(), blender::DNA_struct_get_compareflags(), blender::read_struct(), blender::write_sdna_type_offsets(), and blender::writedata().