Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Asset Namespace Reference

Classes which are related to asset loading are mostly stored in this namespace. More...

Classes

class  AssetBase
 Base class for asset wrappers. The data is stored in the private member variable 'data' in form of entt components. More...
class  AssetManager
 A manager which is used to look up existing assets and their loading state. More...
struct  LoadResult
 Result returned when an asynchronous asset load reaches a terminal state. More...
struct  MeshPath
 Identifies a named mesh-like asset inside an asset file. More...
struct  Path
 Identifies a single asset file on disk. More...
struct  Record
 Internal storage for one asset entry managed by AssetManager. More...
class  Ref
 Non-owning handle to an asset record managed by AssetManager. More...

Typedefs

using LoadState = CpuLoadingState

Enumerations

enum  CpuLoadingState : uint8_t {
  UNLOADED = 0 ,
  REQUESTED_LOAD = 1 ,
  LOADING = 2 ,
  LOADED = 3 ,
  FAILED = 4
}
 State for assets in the asset loading process. More...

Detailed Description

Classes which are related to asset loading are mostly stored in this namespace.

Typedef Documentation

◆ LoadState

Definition at line 47 of file Asset.h.

Enumeration Type Documentation

◆ CpuLoadingState

enum Asset::CpuLoadingState : uint8_t

State for assets in the asset loading process.

Enumerator
UNLOADED 

When the asset is not loaded yet but the frame is already existing for the heavy data to be loaded into the asset.

REQUESTED_LOAD 

An asset has been requested to load and is waiting for an asset pipeline to start working on it.

LOADING 

While the asset is currently being processed in the asset pipeline.

LOADED 

All components of the asset have been loaded, and it is ready to be used.

FAILED 

Asset loading finished unsuccessfully. Inspect the asset ref error for details.

Definition at line 22 of file Asset.h.