|
CeresEngine 0.2.0
A game development framework
|
A single resource imported by an importer. More...
#include <CeresEngine/Resource/Importer/ResourceImporter.hpp>
Public Member Functions | |
| ImportedResource ()=default | |
Creates a new empty ImportedResource struct. | |
| ImportedResource (ResourcePtr resource, const UUID suggestedUUID={}, String suggestedName={}) | |
Creates a new ImportedResource struct from a Resource pointer. | |
| template<typename T > | |
| ImportedResource (SPtr< T > resource, const UUID suggestedUUID={}, String suggestedName={}) | |
Creates a new ImportedResource struct from a Resource pointer. | |
| ImportedResource (HResource resource, const UUID suggestedUUID={}, String suggestedName={}) | |
Creates a new ImportedResource struct from a Resource pointer. | |
| template<typename T > | |
| ImportedResource (ResourceHandle< T > resource, const UUID suggestedUUID={}, String suggestedName={}) | |
Creates a new ImportedResource struct from a Resource pointer. | |
Public Attributes | |
| Variant< HResource, ResourcePtr > | resource |
| The primary imported resource. | |
| UUID | suggestedUUID |
| A suggested UUID for the resource. | |
| String | suggestedName |
| A suggested name for the imported resource. | |
A single resource imported by an importer.
This contains a reference to the resource itself and metadata that may, optionally, be used by the resource manager.
|
default |
Creates a new empty ImportedResource struct.
|
inline |
Creates a new ImportedResource struct from a Resource pointer.
|
inline |
Creates a new ImportedResource struct from a Resource pointer.
|
inline |
Creates a new ImportedResource struct from a Resource pointer.
|
inline |
Creates a new ImportedResource struct from a Resource pointer.
| Variant<HResource, ResourcePtr> CeresEngine::ImportedResource::resource |
The primary imported resource.
| String CeresEngine::ImportedResource::suggestedName |
A suggested name for the imported resource.
| UUID CeresEngine::ImportedResource::suggestedUUID |