Class LabelEntryMatchCache
Cache of instance id -> label entry index for a LabelConfig. This is not well optimized and is the source of a known memory leak for apps that create new instances frequently.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth
Assembly: solution.dll
Syntax
public class LabelEntryMatchCache : IGroundTruthGenerator, IDisposable
Methods
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| TryGetLabelEntryFromInstanceId(uint, out IdLabelEntry, out int) | Retrieves the label entry for the given instance id. |