![]() |
Vulkan SDK for Android 1.1.1
Mali Developer Center
|
An asset manager implementation for Android. Uses AAssetManager to load assets. More...
#include <android_assets.hpp>
Public Member Functions | |
| virtual Result | readBinaryFile (const char *pPath, void **ppData, size_t *pSize) override |
| Reads a binary file as a raw blob. More... | |
| void | setAssetManager (AAssetManager *pAssetManager) |
| Sets the asset manager to use. Called from platform. More... | |
Public Member Functions inherited from MaliSDK::AssetManager | |
| template<typename T > | |
| Result | readBinaryFile (std::vector< T > *pOutput, const char *pPath) |
| Reads a binary file into typed container. More... | |
An asset manager implementation for Android. Uses AAssetManager to load assets.
Definition at line 33 of file android_assets.hpp.
|
overridevirtual |
Reads a binary file as a raw blob.
| pPath | The path of the asset. | |
| [out] | ppData | allocated output data. Must be freed with free(). |
| [out] | pSize | The size of the allocated data. |
Reimplemented from MaliSDK::AssetManager.
Definition at line 27 of file android_assets.cpp.
|
inline |
Sets the asset manager to use. Called from platform.
| pAssetManager | The asset manager. |
Definition at line 45 of file android_assets.hpp.