|
Blender V5.3
|
external readfile function prototypes. More...
#include "DNA_ID_enums.h"#include "DNA_listBase.h"#include "BLI_compiler_attrs.hh"#include "BLI_enum_flags.hh"#include "BLI_math_vector_types.hh"#include "BLI_sys_types.hh"#include "BLI_utility_mixins.hh"Go to the source code of this file.
Classes | |
| struct | blender::WorkspaceConfigFileData |
| struct | blender::BlendFileData |
| struct | blender::BlendFileReadWMSetupData |
| struct | blender::BlendFileReadParams |
| struct | blender::BlendFileReadReport |
| struct | blender::BLODataBlockInfo |
| struct | blender::BLODataBlockInfo::Library |
| struct | blender::LibraryLink_Params |
| struct | blender::TempLibraryContext |
| struct | blender::ID_Readfile_Data |
| struct | blender::ID_Readfile_Data::Tags |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | BLO_GROUP_MAX 32 |
| #define | BLO_EMBEDDED_STARTUP_BLEND "<startup.blend>" |
| #define | BLEN_THUMB_MEMSIZE_FILE(_x, _y) |
Functions | |
| void | blender::BLO_update_defaults_startup_blend (Main *bmain, const char *app_template) |
| void | blender::BLO_update_defaults_workspace (WorkSpace *workspace, const char *app_template) |
| void | blender::BLO_sanitize_experimental_features_userpref_blend (UserDef *userdef) |
Library Linking (helper functions) | |
| void * | blender::BLO_library_read_struct (FileData *fd, BHead *bh, const char *blockname) |
Read Thumbnail from Blend File | |
| BlendThumbnail * | blender::BLO_thumbnail_from_file (const char *filepath) |
| short | blender::BLO_version_from_file (const char *filepath) |
Read ID | |
| ID_Readfile_Data::Tags | blender::BLO_readfile_id_runtime_tags (const ID &id) |
| ID_Readfile_Data::Tags & | blender::BLO_readfile_id_runtime_tags_for_write (ID &id) |
| void | blender::BLO_readfile_id_runtime_data_free_all (Main &bmain) |
| void | blender::BLO_readfile_id_runtime_data_free (ID &id) |
BLO Read File API | |
| |
| #define | BLO_READ_SKIP_ALL (BLO_READ_SKIP_USERDEF | BLO_READ_SKIP_DATA) |
| enum | blender::eBlenFileType { blender::BLENFILETYPE_BLEND = 1 } |
| enum | blender::eBLOReadSkip { blender::BLO_READ_SKIP_NONE = 0 , blender::BLO_READ_SKIP_USERDEF = (1 << 0) , blender::BLO_READ_SKIP_DATA = (1 << 1) , blender::BLO_READ_SKIP_UNDO_OLD_MAIN = (1 << 2) } |
| 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) |
BLO Blend File Handle API | |
| #define | BLO_read_assert_message(_check_expr, _ret_value, _bh, _bmain, _message) |
| 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) |
external readfile function prototypes.
Definition in file BLO_readfile.hh.
| #define BLEN_THUMB_MEMSIZE_FILE | ( | _x, | |
| _y ) |
Definition at line 637 of file BLO_readfile.hh.
Referenced by blender::blo_read_file_internal(), blender::BLO_thumbnail_from_file(), blender::read_file_thumbnail(), and blender::write_thumb().
| #define BLO_EMBEDDED_STARTUP_BLEND "<startup.blend>" |
Definition at line 377 of file BLO_readfile.hh.
Referenced by blender::BKE_blendfile_library_path_explode(), blender::link_append_context_library_blohandle_ensure(), and blender::workspace_append_button().
| #define BLO_GROUP_MAX 32 |
Definition at line 376 of file BLO_readfile.hh.
Referenced by blender::BKE_blendfile_library_path_explode(), and blender::groupname_to_code().
| #define BLO_read_assert_message | ( | _check_expr, | |
| _ret_value, | |||
| _bh, | |||
| _bmain, | |||
| _message ) |
BLI_assert-like macro to check a condition, and if false, fail the whole .blend reading process by marking the Main data-base as invalid, and returning provided _ret_value.
NOTE: About usages:
Definition at line 367 of file BLO_readfile.hh.
Referenced by blender::do_versions_after_linking_280().
| #define BLO_READ_SKIP_ALL (BLO_READ_SKIP_USERDEF | BLO_READ_SKIP_DATA) |
Definition at line 167 of file BLO_readfile.hh.
Referenced by blender::BKE_blendfile_userdef_read(), and blender::BKE_blendfile_userdef_read_from_memory().