SetPool.

Release<T>(HashSet<T>) Method

Summary

Clears the `set`, adds it to the list of spares so it can be reused, and sets it to null.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
SetPool

Syntax

public static void Release<T>(ref HashSet<T> set)

Type Parameters

Name Description
T

Parameters

Name Type Description
set HashSet<T>

Return Value

Type Description
void