wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::assets::Manager Class Reference

#include <manager.hpp>

Public Member Functions

 Manager ()=default
 
 Manager (const std::vector< std::filesystem::path > &asset_paths, const std::optional< std::filesystem::path > &project_path={})
 
auto find_asset (const std::filesystem::path &) const -> expected< std::filesystem::path >
 

Private Attributes

std::vector< std::filesystem::path > asset_paths_
 
std::optional< std::filesystem::path > project_path_
 

Constructor & Destructor Documentation

◆ Manager() [1/2]

wren::assets::Manager::Manager ( )
default

◆ Manager() [2/2]

wren::assets::Manager::Manager ( const std::vector< std::filesystem::path > & asset_paths,
const std::optional< std::filesystem::path > & project_path = {} )
inline

Member Function Documentation

◆ find_asset()

auto wren::assets::Manager::find_asset ( const std::filesystem::path & asset_path) const -> expected<std::filesystem::path>
Here is the call graph for this function:

Member Data Documentation

◆ asset_paths_

std::vector<std::filesystem::path> wren::assets::Manager::asset_paths_
private

◆ project_path_

std::optional<std::filesystem::path> wren::assets::Manager::project_path_
private

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