Class ReferenceContainerModel
A class that manages asset references.
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. |