Interface IAssetSource
This interface represents an asset source.
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public interface IAssetSource
Properties
Importer
Gets or sets the asset importer.
Declaration
IAssetImporter Importer { get; set; }
Property Value
Type | Description |
---|---|
IAssetImporter |
IsPreprocessed
Gets or sets a value indicating whether the resource has been preprocessed.
Declaration
bool IsPreprocessed { get; set; }
Property Value
Type | Description |
---|---|
bool |
LastModified
Gets The last modified time.
Declaration
DateTime LastModified { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
Free()
Release the resources used by this instance.
Declaration
void Free()
GetImporter(string)
Sets the asset importer.
Declaration
IAssetImporter GetImporter(string fileName)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | The asset filename. |
Returns
Type | Description |
---|---|
IAssetImporter | The asset importer. |