Interface IAssetImporter<T>
Represents a service for the assets reading.
public interface IAssetImporter<out T> : IFormatReadChecker
Type Parameters
TType of the assets that can be loaded using this importer.
- Inherited Members
- Extension Methods
Methods
Import(Stream, IImportContext)
Performs asset loading from the specified data stream.
T Import(Stream stream, IImportContext importContext)
Parameters
streamStreamData stream to read asset from.
importContextIImportContextContext to import the asset.
Returns
- T
An instance of the asset of type
Tloaded from the specified stream.