Class DictionaryPool<TKey, TValue>
Dictionary Pool.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class DictionaryPool<TKey, TValue>
Type Parameters
| Name | Description |
|---|---|
| TKey | Key type. |
| TValue | Value type. |
Methods
| Name | Description |
|---|---|
| Get() | Get a new Dictionary |
| Get(out Dictionary<TKey, TValue>) | Get a new dictionary PooledObject. |
| Release(Dictionary<TKey, TValue>) | Release an object to the pool. |