Table of Contents

Interface IAssetImporter<T>

Namespace
Icy.Assets.Importers
Assembly
IcyUI.dll

Represents a service for the assets reading.

public interface IAssetImporter<out T> : IFormatReadChecker

Type Parameters

T

Type 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

stream Stream

Data stream to read asset from.

importContext IImportContext

Context to import the asset.

Returns

T

An instance of the asset of type T loaded from the specified stream.