blip
0.1
|
An asset manager, which provides access to the application's raw asset files. More...
#include <AssetManager.hpp>
Public Member Functions | |
~AssetManager () | |
Destructor. More... | |
AssetDirectory * | openDir (const ccxx::String &path) |
Open the asset directory with the given file path. More... | |
Asset * | open (const ccxx::String &path, AssetMode mode) |
Open the asset file with the given path. More... | |
An asset manager, which provides access to the application's raw asset files.
Assets are bundled in an APK as raw data files; it is up to the application to read this data and interpret it appropriately.
~AssetManager | ( | ) |
Destructor.
Open the asset file with the given path.
path | The path of the file within the APK. |
mode | The mode in which the asset data will be accessed, which helps the system optimize the retrieval of the data. |
IOException | If an I/O error occurs. |
AssetDirectory * openDir | ( | const ccxx::String & | path | ) |
Open the asset directory with the given file path.
path | The path of the directory within the APK. |
IOException | If an I/O error occurs. |