Interface IAssetSource
This interface represents a source for assets.
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 pre-processed.
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()
Releases 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 file name. |
Returns
| Type | Description |
|---|---|
| IAssetImporter | The asset importer. |