Berserk
|
Base class responsible for importing a specific resource type. More...
#include <ResourceImporter.hpp>
Public Member Functions | |
virtual BRK_API | ~ResourceImporter ()=default |
virtual BRK_API Ref< ResourceImportOptions > | CreateDefaultOptions () const =0 |
Creates default importer options for import. More... | |
virtual BRK_API const std::vector< String > & | GetSupportedExtensions () const =0 |
Get list of supported file extensions for import. More... | |
virtual BRK_API void | Import (const String &fullpath, const Ref< ResourceImportOptions > &options, ResourceImportResult &result)=0 |
Imports resource or set of resources. More... | |
Base class responsible for importing a specific resource type.
|
virtualdefault |
|
pure virtual |
Creates default importer options for import.
Implemented in ImporterTexture, ImporterShader, and ImporterMesh.
|
pure virtual |
Get list of supported file extensions for import.
Implemented in ImporterTexture, ImporterShader, and ImporterMesh.
|
pure virtual |
Imports resource or set of resources.
[in] | fullpath | Full path to the resource on the disc |
[in] | options | Options used to import resource |
[out] | result | Result of the import operation |
Implemented in ImporterTexture, ImporterShader, and ImporterMesh.