Blender V5.3
blender::BLODataBlockInfo Struct Reference

#include <BLO_readfile.hh>

Classes

struct  Library

Public Attributes

char name [256] = ""
AssetMetaData * asset_data = nullptr
BLODataBlockInfo::Library library_data = {}
bool free_asset_data = false
bool no_preview_found = false

Detailed Description

Definition at line 236 of file BLO_readfile.hh.

Member Data Documentation

◆ asset_data

◆ free_asset_data

bool blender::BLODataBlockInfo::free_asset_data = false

◆ library_data

BLODataBlockInfo::Library blender::BLODataBlockInfo::library_data = {}

For Library IDs only: specific info, like the stored blendfile path, flags.

Definition at line 245 of file BLO_readfile.hh.

Referenced by blender::BLO_blendhandle_get_datablock_info(), and blender::make_library_info().

◆ name

◆ no_preview_found

bool blender::BLODataBlockInfo::no_preview_found = false

Optimization: Tag data-blocks for which we know there is no preview. Knowing this can be used to skip the (potentially expensive) preview loading process. If this is set to true it means we looked for a preview and couldn't find one. False may mean that either no preview was found, or that it wasn't looked for in the first place.

Definition at line 257 of file BLO_readfile.hh.

Referenced by blender::BLO_blendhandle_get_datablock_info(), and blender::filelist_readjob_list_lib_add_datablock().


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