Skip to content

Engine → Assets

asset_source.h

A provider of validated cooked blobs. read() may be called from any thread.

Structs

File Description
memory_asset_source::entry

Classes

File Description
asset_source A provider of validated cooked blobs. read() may be called from any thread.
cache_asset_source Editor/dev source: identities from the database, blobs from the cache. A record whose status prevents loading (META_INVALID, NO_IMPORTER, CYCLIC_DEPENDENCY, MISSING_SOURCE) fails read() with that code; a missing blob is CACHE_MISS.
composite_asset_source Resolves through several sources in insertion order (the project pack first, then plugin packs). Sources are added on the main thread before loads start.
memory_asset_source Blobs held in memory. Tests add blobs directly; reads copy.
pack_asset_source Runtime source over an opened pack.

Forward Declarations

asset_cache

class asset_cache;

asset_database

class asset_database;

pack_reader

class pack_reader;