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  Path

Enumerations

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

Functions

static Path GetTexturePath (const std::filesystem::path &path)

Detailed Description

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

Enumeration Type Documentation

◆ CpuLoadingState

enum Asset::CpuLoadingState : uint8_t

State for assets in the asset loading process.

Author
Konstantin Passig
Date
03.12.2025
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.

Definition at line 21 of file Asset.h.

Function Documentation

◆ GetTexturePath()

Path Asset::GetTexturePath ( const std::filesystem::path & path)
static

Definition at line 55 of file AssetPath.h.