Kohi Game Engine
|
The request options for getting an asset from the VFS. More...
#include <vfs.h>
Data Fields | |
kname | package_name |
The name of the package to load the asset from. More... | |
kname | asset_name |
The name of the asset to request. More... | |
b8 | is_binary |
Indicates if the asset is binary. If not, the asset is loaded as text. More... | |
u32 | context_size |
The size of the context in bytes. More... | |
const void * | context |
PFN_on_asset_loaded_callback | vfs_callback |
The request options for getting an asset from the VFS.
kname asset_name |
The name of the asset to request.
const void* context |
context | A constant pointer to the context to be used for this call. This is passed through to the result callback. NOTE: A copy of this is taken immediately, so lifetime of this isn't important. |
u32 context_size |
The size of the context in bytes.
b8 is_binary |
Indicates if the asset is binary. If not, the asset is loaded as text.
kname package_name |
The name of the package to load the asset from.
PFN_on_asset_loaded_callback vfs_callback |