Blender V5.0
AssetShelf Struct Reference

#include <DNA_screen_types.h>

Public Attributes

struct AssetShelfnext
struct AssetShelfprev
char idname [64]
struct AssetShelfTypetype
AssetShelfSettings settings
short preferred_row_count
short instance_flag
char _pad [4]

Detailed Description

Definition at line 859 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char AssetShelf::_pad[4]

Definition at line 875 of file DNA_screen_types.h.

◆ idname

char AssetShelf::idname[64]

Identifier that matches the AssetShelfType.idname this shelf was created with. Used to restore the AssetShelf.type pointer below on file read.

Definition at line 866 of file DNA_screen_types.h.

◆ instance_flag

short AssetShelf::instance_flag

◆ next

struct AssetShelf* AssetShelf::next

Definition at line 862 of file DNA_screen_types.h.

◆ preferred_row_count

short AssetShelf::preferred_row_count

Only for the permanent asset shelf regions, not asset shelves in temporary popups.

Definition at line 873 of file DNA_screen_types.h.

Referenced by blo_do_versions_400(), blender::ed::asset::shelf::region_on_user_resize(), and blender::ed::asset::shelf::region_resize_to_preferred().

◆ prev

struct AssetShelf * AssetShelf::prev

Definition at line 862 of file DNA_screen_types.h.

◆ settings

◆ type


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