Class GenericPool<T>
Generic pool.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class GenericPool<T> where T : new()
Type Parameters
| Name | Description |
|---|---|
| T | Type of the objects in the pull. |
Methods
| Name | Description |
|---|---|
| Get() | Get a new object. |
| Get(out T) | Get a new PooledObject |
| Release(T) | Release an object to the pool. |