Skip to content

IPoolable Interface

Definition

Namespace: Brine2D.Pooling

Interface for objects that can be pooled and reset.

C#
public interface IPoolable

Derived
Particle

Methods
Reset() Called when the object is returned to the pool. Reset state here to avoid polluting reused objects.