51 std::vector<char>
LoadFile(
const std::filesystem::path &path);
58 std::vector<char>
LoadAssetFile(
const std::string &relativePath);
Resolves asset paths and loads files into memory.
std::filesystem::path GetExecutableFolder() const
Return the directory containing the running executable.
std::vector< char > LoadFile(const std::filesystem::path &path)
Load an arbitrary file into a byte buffer.
std::string LoadAssetFileText(const std::string &relativePath)
Load a text file from the assets directory into a string.
std::vector< char > LoadAssetFile(const std::string &relativePath)
Load a file from the assets directory into a byte buffer.
std::filesystem::path GetAssetsFolder() const
Return the runtime assets directory.