![]() |
Vulkan SDK for Android 1.1.1
Mali Developer Center
|
The Linux asset manager. It is based on regular fopen(), with the exception that all paths passed to it are relative to the path of the binary. The path to the binary are Linux specific due to parsing /proc interface. More...
#include <linux.hpp>
Public Member Functions | |
LinuxAssetManager () | |
Constructor. | |
virtual Result | readBinaryFile (const char *pPath, void **ppData, size_t *pSize) override |
Reads a binary file as a raw blob. More... | |
![]() | |
template<typename T > | |
Result | readBinaryFile (std::vector< T > *pOutput, const char *pPath) |
Reads a binary file into typed container. More... | |
The Linux asset manager. It is based on regular fopen(), with the exception that all paths passed to it are relative to the path of the binary. The path to the binary are Linux specific due to parsing /proc interface.
|
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.