Class ListPool<T>
Inheritance
System.Object
ListPool<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Graphing
Syntax
public static class ListPool<T>
Type Parameters
Name | Description |
---|---|
T |
Methods
Get()
Declaration
public static List<T> Get()
Returns
Type | Description |
---|---|
List<T> |
GetDisposable()
Declaration
public static PooledObject<List<T>> GetDisposable()
Returns
Type | Description |
---|---|
PooledObject<List<T>> |
Release(List<T>)
Declaration
public static void Release(List<T> toRelease)
Parameters
Type | Name | Description |
---|---|---|
List<T> | toRelease |