Blender  V2.93
Public Attributes | List of all members
FileSelectAssetLibraryUID Struct Reference

#include <DNA_space_types.h>

Public Attributes

short type
 
char _pad [2]
 
int custom_library_index
 

Detailed Description

Information to identify a asset library. May be either one of the predefined types (current 'Main', builtin library, project library), or a custom type as defined in the Preferences.

If the type is set to FILE_ASSET_LIBRARY_CUSTOM, idname must have the name to identify the custom library. Otherwise idname is not used.

Definition at line 705 of file DNA_space_types.h.

Member Data Documentation

◆ _pad

char FileSelectAssetLibraryUID::_pad[2]

Definition at line 707 of file DNA_space_types.h.

◆ custom_library_index

int FileSelectAssetLibraryUID::custom_library_index

If showing a custom asset library (FILE_ASSET_LIBRARY_CUSTOM), this is the index of the bUserAssetLibrary within UserDef.asset_libraries. Should be ignored otherwise (but better set to -1 then, for sanity and debugging).

Definition at line 713 of file DNA_space_types.h.

Referenced by filelist_compare_asset_libraries(), and fileselect_ensure_updated_asset_params().

◆ type

short FileSelectAssetLibraryUID::type

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