Go to the source code of this file.
◆ ModeFlags
Flags to indicate access modes.
- READ : Read-only access
- WRITE : Write-only access
- READ_WRITE : Read + Write access (read first, then write)
- WRITE_READ : Write + Read access (write first, then read)
Enumerator |
---|
READ | Read-only access.
|
WRITE | Write-only access.
|
READ_WRITE | Read then Write access.
|
WRITE_READ | Write then Read access.
|
◆ _ember_init_vfs()
◆ load_assets_file()
std::string load_assets_file |
( |
const std::string & |
file_path | ) |
|
Loads a given file from res
folder.
- The file path is relative to
res
folder
- Version
- 0.0.1
- Parameters
-
file_path | the path to the file in res folder |
- Returns
- File content as
string
◆ load_file_into_memory()
std::vector<char> load_file_into_memory |
( |
const std::string & |
file_path | ) |
|
Loads a given file from res
folder into memory.
- The file path is relative to
res
folder
- Version
- 0.0.2
- Parameters
-
file_path | the path to the file in res folder |
- Returns
- File content as
vector<char>