Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::AndroidFileSystem Struct Reference

Android file system implementation. More...

#include <AndroidFileSystem.hpp>

Static Public Member Functions

static void Init (struct AAssetManager *AssetManager, const char *ExternalFilesDir=nullptr, const char *OutputFilesDir=nullptr)
 Initializes the file system.
 

Detailed Description

Android file system implementation.

Member Function Documentation

◆ Init()

void Diligent::AndroidFileSystem::Init ( struct AAssetManager * AssetManager,
const char * ExternalFilesDir = nullptr,
const char * OutputFilesDir = nullptr )
static

Initializes the file system.

Parameters
[in]AssetManager- A pointer to the asset manager (AAssetManager).
[in]ExternalFilesDir- External files directory.
[in]OutputFilesDir- Output files directory.
Remarks
The file system can be initialized to use either the external assets path or asset manager, or both. When ExternalFilesDir is not null, the file system will try to use it first when opening files. It will then resort to using the asset manager. If ExternalFilesDir is null, the file system will only use the asset manager.