Blender V5.3
readblenentry.cc File Reference
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_ghash.hh"
#include "BLI_linklist.hh"
#include "BLI_path_utils.hh"
#include "BLI_set.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "DNA_genfile.h"
#include "BKE_asset.hh"
#include "BKE_idtype.hh"
#include "BKE_main.hh"
#include "BKE_preview_image.hh"
#include "BLO_readfile.hh"
#include "readfile.hh"
#include "BLI_sys_types.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static bool blender::blendhandle_load_id_data_and_validate (FileData *fd, BHead *bhead, bool use_assets_only, const char *&r_idname, short &r_idflag, AssetMetaData *&r_asset_meta_data, BLODataBlockInfo::Library *r_library_data)
static BHead * blender::blo_blendhandle_read_preview_rects (FileData *fd, BHead *bhead, PreviewImage *result, const PreviewImage *preview_from_file)
BLO Blend File Handle API
void blender::BLO_datablock_info_free (BLODataBlockInfo *datablock_info)
void blender::BLO_datablock_info_linklist_free (LinkNode *datablock_infos)
BlendHandle * blender::BLO_blendhandle_from_file (const char *filepath, BlendFileReadReport *reports)
BlendHandle * blender::BLO_blendhandle_from_memory (const void *mem, int memsize, BlendFileReadReport *reports)
int3 blender::BLO_blendhandle_get_version (const BlendHandle *bh)
LinkNode * blender::BLO_blendhandle_get_datablock_names (BlendHandle *bh, int ofblocktype, bool use_assets_only, int *r_tot_names)
LinkNode * blender::BLO_blendhandle_get_datablock_info (BlendHandle *bh, int ofblocktype, bool use_assets_only, int *r_tot_info_items)
PreviewImage * blender::BLO_blendhandle_get_preview_for_id (BlendHandle *bh, int ofblocktype, const char *name)
LinkNode * blender::BLO_blendhandle_get_linkable_groups (BlendHandle *bh)
void blender::BLO_blendhandle_close (BlendHandle *bh) ATTR_NONNULL(1)
void blender::BLO_read_invalidate_message (BlendHandle *bh, Main *bmain, const char *message)
BLO Read File API
See also
BLO_write_file for file writing.
BlendFileData * blender::BLO_read_from_file (const char *filepath, eBLOReadSkip skip_flags, BlendFileReadReport *reports)
BlendFileData * blender::BLO_read_from_memory (const void *mem, int memsize, eBLOReadSkip skip_flags, ReportList *reports)
BlendFileData * blender::BLO_read_from_memfile (Main *oldmain, const char *filepath, MemFile *memfile, const BlendFileReadParams *params, ReportList *reports)
void blender::BLO_blendfiledata_free (BlendFileData *bfd)
void blender::BLO_read_do_version_after_setup (Main *new_bmain, BlendfileLinkAppendContext *lapp_context, BlendFileReadReport *reports)

Detailed Description

.blend file reading entry point.

Definition in file readblenentry.cc.