Summary
An
System.IDisposable
to allow pooled objects to be acquired and released within using
statements instead of needing to manually release everything.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
-
- IDisposable
- Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type-.->Interface0["IDisposable"]
Type["ObjectPool<T>.Disposable"]
class Type type-node
Syntax
public readonly struct ObjectPool<T>.Disposable : ValueType, IDisposable
Constructors
Name | Summary |
---|---|
Disposable |
Creates a new Animancer.ObjectPool`1.Disposable and calls Animancer.ObjectPool`1.Acquire
to set the Animancer.ObjectPool`1.Disposable.Item and `item`.
|
Fields
Methods
Name | Value | Summary |
---|---|---|
Dispose |
void |
Animancer.ObjectPool`1.Release(`0) the Animancer.ObjectPool`1.Disposable.Item . |