sandbox
Loading...
Searching...
No Matches
sbx::scenes::asset_registry Class Reference

Public Member Functions

template<typename... Args>
auto request_image (const utility::hashed_string &name, const std::filesystem::path &path, Args &&... args) -> graphics::image2d_handle
 
auto has_image (const utility::hashed_string &name) const -> bool
 
auto get_image (const utility::hashed_string &name) const -> graphics::image2d_handle
 
auto image_metadata (const graphics::image2d_handle &handle) const -> const asset_metadata &
 
auto images () const -> const asset_table< graphics::image2d_handle > &
 
template<typename... Args>
auto request_cube_image (const utility::hashed_string &name, const std::filesystem::path &path, Args &&... args) -> graphics::cube_image2d_handle
 
auto has_cube_image (const utility::hashed_string &name) const -> bool
 
auto get_cube_image (const utility::hashed_string &name) const -> graphics::cube_image2d_handle
 
auto cube_image_metadata (const graphics::cube_image2d_handle &handle) const -> const asset_metadata &
 
auto cube_images () const -> const asset_table< graphics::cube_image2d_handle > &
 
template<typename Mesh , typename... Args>
auto request_mesh (const utility::hashed_string &name, Args &&... args) -> math::uuid
 
template<typename Mesh , typename Path , typename... Args>
requires (std::is_constructible_v<std::filesystem::path, Path>)
auto request_mesh (const utility::hashed_string &name, const Path &path, Args &&... args) -> math::uuid
 
auto has_mesh (const utility::hashed_string &name) const -> bool
 
auto get_mesh (const utility::hashed_string &name) const -> math::uuid
 
auto mesh_metadata (const math::uuid &handle) const -> const asset_metadata &
 
auto meshes () const -> const asset_table< math::uuid > &
 
template<typename Animation , typename... Args>
auto request_animation (const utility::hashed_string &name, Args &&... args) -> math::uuid
 
auto has_animation (const utility::hashed_string &name) const -> bool
 
auto get_animation (const utility::hashed_string &name) const -> math::uuid
 
auto animations () const -> const asset_table< math::uuid > &
 
template<typename Material , typename... Args>
auto request_material (const utility::hashed_string &name, Args &&... args) -> Material &
 
auto has_material (const utility::hashed_string &name) const -> bool
 
auto get_material (const utility::hashed_string &name) const -> math::uuid
 
auto material_metadata (const math::uuid &handle) const -> const asset_metadata &
 
auto materials () const -> const asset_table< math::uuid > &
 

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