Blender V5.3
blender::FileListEntryCache Struct Reference

#include <filelist_intern.hh>

Public Member Functions

 FileListEntryCache ()
 ~FileListEntryCache ()

Public Attributes

size_t size = 0
int flags = 0
ListBaseT< FileDirEntry > cached_entries = {}
FileDirEntry ** block_entries = nullptr
int block_start_index = 0
int block_end_index = 0
int block_center_index = 0
int block_cursor = 0
int misc_cursor = 0
int * misc_entries_indices = nullptr
Map< int, FileDirEntry * > misc_entries
Map< int, FileDirEntry * > uids
TaskPool * previews_pool = nullptr
ThreadQueue * previews_done = nullptr
ThumbCancellationToken previews_cancel_token
int previews_todo_count = 0

Detailed Description

Definition at line 121 of file filelist_intern.hh.

Constructor & Destructor Documentation

◆ FileListEntryCache()

blender::FileListEntryCache::FileListEntryCache ( )

◆ ~FileListEntryCache()

blender::FileListEntryCache::~FileListEntryCache ( )

Member Data Documentation

◆ block_center_index

int blender::FileListEntryCache::block_center_index = 0

◆ block_cursor

int blender::FileListEntryCache::block_cursor = 0

◆ block_end_index

int blender::FileListEntryCache::block_end_index = 0

◆ block_entries

◆ block_start_index

int blender::FileListEntryCache::block_start_index = 0

◆ cached_entries

◆ flags

◆ misc_cursor

int blender::FileListEntryCache::misc_cursor = 0

Definition at line 139 of file filelist_intern.hh.

Referenced by blender::filelist_file_ex().

◆ misc_entries

◆ misc_entries_indices

int* blender::FileListEntryCache::misc_entries_indices = nullptr

◆ previews_cancel_token

ThumbCancellationToken blender::FileListEntryCache::previews_cancel_token

◆ previews_done

◆ previews_pool

◆ previews_todo_count

int blender::FileListEntryCache::previews_todo_count = 0

Counter for previews that are not fully loaded and ready to display yet. So includes all previews either in previews_pool or previews_done. filelist_cache_previews_update() makes previews in preview_done ready for display, so the counter is decremented there.

Definition at line 153 of file filelist_intern.hh.

Referenced by blender::filelist_cache_preview_ensure_running(), blender::filelist_cache_previews_clear(), blender::filelist_cache_previews_done(), blender::filelist_cache_previews_free(), blender::filelist_cache_previews_push(), blender::filelist_cache_previews_set(), and blender::filelist_cache_previews_update().

◆ size

◆ uids


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