#include <CeresEngine/Resource/Importer/ResourceImporter.hpp>
◆ ResourceImporter2()
| CeresEngine::ResourceImporter2::ResourceImporter2 |
( |
ResourceManager & |
resourceManager | ) |
|
|
explicit |
Creates a new resource importer.
- Parameters
-
| resourceManager | The owning resource manager. |
◆ ~ResourceImporter2()
| virtual CeresEngine::ResourceImporter2::~ResourceImporter2 |
( |
| ) |
|
|
virtualdefault |
Destroys the resource importer.
◆ importResource()
Peeks the resource.
- Note
- The
session object reference is valid until the returned Async object completes execution.
◆ peek()
Peeks the resource.
The given stream is not the same stream returned from the URLResponse, but is a stream that can read up to 4096 bytes from the stream, from an internal cache.
◆ mExecutionContext
The execution context to perform asynchronous resource operations on.
◆ mResourceManager
The owning resource manager.
Can be used to import/load dependent resources.
◆ mURLSession
| URLSession& CeresEngine::ResourceImporter2::mURLSession |
|
protected |
The URL session to be used to load resources.
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Resource/Importer/ResourceImporter.hpp