ObjectPool.

Acquire<T>(HashSet<T>) Method

Summary

Returns a spare System.Collections.Generic.HashSet`1 if there are any, or creates a new one.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ObjectPool

Syntax

public static void Acquire<T>(out HashSet<T> set)

Remarks

Remember to Animancer.ObjectPool.Release``1(System.Collections.Generic.HashSet{``0}) it when you are done.

Type Parameters

Name Description
T

Parameters

Name Type Description
set HashSet<T>

Return Value

Type Description
void