|
Blender V5.3
|
Public Attributes | |
| bool | any_asset_file_loading |
| Map< RequestIdentifier, std::string > | req_to_full_urls |
| Map< std::string, FileProgress > | requested_files |
| Map< std::string, FileProgress > | done_files |
Definition at line 239 of file remote_library.cc.
| bool blender::asset_system::ProgressData::any_asset_file_loading |
Definition at line 240 of file remote_library.cc.
Referenced by blender::asset_system::ProgressTracker::file_requested(), and blender::asset_system::ProgressTracker::is_any_loading().
| Map<std::string, FileProgress> blender::asset_system::ProgressData::done_files |
Absolute URLs of files that are done downloading (successfully or not) mapped to their expected size on disk. Will be cleared once all current requests are done. This way total progress reporting can include "done" assets, and progress bars fill up as expected.
Definition at line 265 of file remote_library.cc.
Referenced by blender::asset_system::ProgressTracker::file_finished().
| Map<RequestIdentifier, std::string> blender::asset_system::ProgressData::req_to_full_urls |
Assets stored in the asset system may only contain a relative URL. The downloader turns this into an absolute URL, and only uses this internally. So all progress reporting uses the absolute URL, while the ones known to the asset system may be relative. The downloader returns the absolute URL in its download function, which we can obtain from the return value of #remote_library_request_asset_download_file().
This maps the asset library URL and the potentially relative asset file URL to the absolute URL used by the downloader.
Definition at line 252 of file remote_library.cc.
Referenced by blender::asset_system::ProgressTracker::file_requested().
| Map<std::string, FileProgress> blender::asset_system::ProgressData::requested_files |
Absolute URLs (see req_to_full_urls) of all requested files mapped to their expected size on disk. Files that are done downloading (successfully or not) are removed and added to done_files below.
Definition at line 259 of file remote_library.cc.
Referenced by blender::asset_system::ProgressTracker::file_finished(), and blender::asset_system::ProgressTracker::file_requested().