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

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

Public Attributes

const ResourceTypeInfotypeInfo
 Specifies the type of resource to import.
 
URLResponse urlResponse
 The URL response for the request that may have been performed for file peeking.
 
InputStream inputStream
 Points to a input stream that cam be used for peeking.
 

Member Data Documentation

◆ inputStream

InputStream CeresEngine::ResourceImporterPeekSession::inputStream

Points to a input stream that cam be used for peeking.

Unlike a regular InputStream from the URLResponse, this stream is buffered and limited. That is, it can only read a limited amount of bytes at the beginning of the file.

◆ typeInfo

const ResourceTypeInfo* CeresEngine::ResourceImporterPeekSession::typeInfo

Specifies the type of resource to import.

The importer must specify whether it can import the given format or not.

◆ urlResponse

URLResponse CeresEngine::ResourceImporterPeekSession::urlResponse

The URL response for the request that may have been performed for file peeking.

If this is not empty, the response can be used to read the file contents.


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