|
Kohi Game Engine
|
A generic structure for a resource. All resource loaders load data into these. More...
#include <resource_types.h>
Data Fields | |
| u32 | loader_id |
| The identifier of the loader which handles this resource. More... | |
| const char * | name |
| The name of the resource. More... | |
| char * | full_path |
| The full file path of the resource. More... | |
| u64 | data_size |
| The size of the resource data in bytes. More... | |
| void * | data |
| The resource data. More... | |
A generic structure for a resource. All resource loaders load data into these.
| void* data |
The resource data.
| u64 data_size |
The size of the resource data in bytes.
| char* full_path |
The full file path of the resource.
| u32 loader_id |
The identifier of the loader which handles this resource.
| const char* name |
The name of the resource.