sandbox
Loading...
Searching...
No Matches
sbx::assets::asset_io_registry Class Reference

Public Types

template<typename Type >
using type_id = utility::scoped_type_id< scope, Type >
 

Public Member Functions

template<typename Type , std::invocable< const Type & > Save, std::invocable< void > Load>
auto register_asset (const std::string &name, Save &&save, Load &&load) -> void
 
auto get (const std::uint32_t id) -> asset_io &
 
auto has (const std::uint32_t id) -> bool
 
auto get (const std::string &name) -> asset_io &
 

The documentation for this class was generated from the following file: