CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ImportedResources Struct Reference

A structure that contains the imported resources returned by an importer. More...

#include <CeresEngine/Resource/Importer/ResourceImporter.hpp>

Public Member Functions

 ImportedResources ()=default
 Creates a new empty ImportedResources struct.
 
 ImportedResources (const std::initializer_list< ImportedResource > resources)
 Creates a new ImportedResources struct from a list of ImportedResource instances.
 
 ImportedResources (Vector< ImportedResource > resources)
 Creates a new ImportedResources struct from a vector of ImportedResource instances.
 
 ImportedResources (ImportedResource importedResource)
 Creates a new ImportedResources struct from a single ImportedResource.
 
 ImportedResources (ResourcePtr resource, const UUID suggestedUUID={}, String suggestedName={})
 Creates a new ImportedResources struct from a single Resource pointer.
 
template<typename T >
 ImportedResources (SPtr< T > resource, UUID suggestedUUID={}, String suggestedName={})
 Creates a new ImportedResources struct from a single Resource pointer.
 
 ImportedResources (HResource resource, const UUID suggestedUUID={}, String suggestedName={})
 Creates a new ImportedResources struct from a single Resource pointer.
 
template<typename T >
 ImportedResources (ResourceHandle< T > resource, UUID suggestedUUID={}, String suggestedName={})
 Creates a new ImportedResources struct from a single Resource pointer.
 

Public Attributes

Vector< ImportedResourceresources
 The resources returned by the importer.
 

Detailed Description

A structure that contains the imported resources returned by an importer.

Constructor & Destructor Documentation

◆ ImportedResources() [1/8]

CeresEngine::ImportedResources::ImportedResources ( )
default

Creates a new empty ImportedResources struct.

◆ ImportedResources() [2/8]

CeresEngine::ImportedResources::ImportedResources ( const std::initializer_list< ImportedResource resources)
inline

Creates a new ImportedResources struct from a list of ImportedResource instances.

◆ ImportedResources() [3/8]

CeresEngine::ImportedResources::ImportedResources ( Vector< ImportedResource resources)
inline

Creates a new ImportedResources struct from a vector of ImportedResource instances.

◆ ImportedResources() [4/8]

CeresEngine::ImportedResources::ImportedResources ( ImportedResource  importedResource)
inline

Creates a new ImportedResources struct from a single ImportedResource.

◆ ImportedResources() [5/8]

CeresEngine::ImportedResources::ImportedResources ( ResourcePtr  resource,
const UUID  suggestedUUID = {},
String  suggestedName = {} 
)
inline

Creates a new ImportedResources struct from a single Resource pointer.

◆ ImportedResources() [6/8]

template<typename T >
CeresEngine::ImportedResources::ImportedResources ( SPtr< T resource,
UUID  suggestedUUID = {},
String  suggestedName = {} 
)
inline

Creates a new ImportedResources struct from a single Resource pointer.

◆ ImportedResources() [7/8]

CeresEngine::ImportedResources::ImportedResources ( HResource  resource,
const UUID  suggestedUUID = {},
String  suggestedName = {} 
)
inline

Creates a new ImportedResources struct from a single Resource pointer.

◆ ImportedResources() [8/8]

template<typename T >
CeresEngine::ImportedResources::ImportedResources ( ResourceHandle< T resource,
UUID  suggestedUUID = {},
String  suggestedName = {} 
)
inline

Creates a new ImportedResources struct from a single Resource pointer.

Member Data Documentation

◆ resources

Vector<ImportedResource> CeresEngine::ImportedResources::resources

The resources returned by the importer.

Most importers will return only one resource, but some may return more than one.


The documentation for this struct was generated from the following file: