Kohi Game Engine
|
Represents the interface point for an importer. More...
#include <kasset_types.h>
Data Fields | |
const char * | source_type |
The file type supported by the importer. More... | |
PFN_kasset_importer_import | import |
Imports an asset according to the provided params and the importer's internal logic. NOTE: Some importers (i.e. .obj for static meshes) can also trigger imports of other assets. Those assets are immediately serialized to disk/package and not returned here though. More... | |
Represents the interface point for an importer.
PFN_kasset_importer_import import |
Imports an asset according to the provided params and the importer's internal logic. NOTE: Some importers (i.e. .obj for static meshes) can also trigger imports of other assets. Those assets are immediately serialized to disk/package and not returned here though.
self | A pointer to the importer itself. |
data_size | The size of the data being imported. |
data | A block of memory containing the data being imported. |
params | A block of memory containing parameters for the import. Optional in general, but required by some importers. |
out_asset | A pointer to the asset being imported. |
const char* source_type |
The file type supported by the importer.