file
assets.hppResource cubos::
Namespaces
- namespace cubos
- Cubos libraries namespace.
- namespace cubos::engine
- Engine module.
Classes
- class cubos::engine::Assets
- Resource which manages all assets. Responsible for loading and unloading assets, storing them in memory, and providing access to them.
Typedefs
- using AssetMetaRead = core::memory::ReadGuard<AssetMeta, std::shared_lock<std::shared_mutex>>
- Read-only guard for an asset's metadata.
- using AssetMetaWrite = core::memory::WriteGuard<AssetMeta, std::unique_lock<std::shared_mutex>>
- Read-write guard for an asset's metadata.
-
template<typename T>using AssetRead = core::memory::ReadGuard<T, std::shared_lock<std::shared_mutex>>
- Read-only guard for an asset's data.
-
template<typename T>using AssetWrite = core::memory::WriteGuard<T, std::unique_lock<std::shared_mutex>>
- Read-write guard for an asset's data.