Interface ILoadable
Interface for loadable assets.
Namespace: Evergine.Common
Assembly: Evergine.Common.dll
Syntax
public interface ILoadable
Properties
Id
Gets or sets the asset ID.
Declaration
Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid | The asset path. |
ReaderVersion
Gets the reader version.
Declaration
Version ReaderVersion { get; }
Property Value
Type | Description |
---|---|
Version | The reader version. |
Methods
Invalidate(ILoadable)
Invalidates this instance and raises the Invalidated event with the new ILoadable instance.
Declaration
void Invalidate(ILoadable newInstance)
Parameters
Type | Name | Description |
---|---|---|
ILoadable | newInstance | The new ILoadable instance. |
ReleaseUnusedMemory()
Releases unused memory.
Declaration
void ReleaseUnusedMemory()
Events
Invalidated
Occurs when this instance is invalidated and all references must be reloaded.
Declaration
event EventHandler<ILoadable> Invalidated
Event Type
Type | Description |
---|---|
EventHandler<ILoadable> |