Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ getAsset()

virtual std::vector< char > Flint::IAssetLoader::getAsset ( const std::string & path)
pure virtual

Load the asset at path and return its raw bytes.

Parameters
pathAsset path, relative to the loader's root.
Returns
A vector containing the full contents of the asset.
Exceptions
Implementation-definedexception if the asset cannot be found or read.

Implemented in Flint::FileSystem.