Class ReferenceContainerModel
Class that manages asset references.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetSources.Entities
Assembly: Evergine.Framework.dll
Syntax
public abstract class ReferenceContainerModel
Properties
ReferenceCounter
Gets the asset manager.
Declaration
public Dictionary<Guid, int> ReferenceCounter { get; }
Property Value
Type | Description |
---|---|
Dictionary<Guid, int> |
Methods
AddReference(Guid)
Adds a reference for the specified asset id. This is used to track the assets loaded by this model.
Declaration
public void AddReference(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | The asset id. |