21 #ifndef PLATFORM_ANDROID_ASSETS 22 #define PLATFORM_ANDROID_ASSETS 24 #include "../asset_manager.hpp" 25 #include <android/asset_manager.h> 41 virtual Result
readBinaryFile(
const char *pPath,
void **ppData,
size_t *pSize)
override;
47 pManager = pAssetManager;
51 AAssetManager *pManager =
nullptr;
The asset manager reads data from a platform specific location. This class is used internally to load...
virtual Result readBinaryFile(const char *pPath, void **ppData, size_t *pSize) override
Reads a binary file as a raw blob.
void setAssetManager(AAssetManager *pAssetManager)
Sets the asset manager to use. Called from platform.
An asset manager implementation for Android. Uses AAssetManager to load assets.