Summary
Creates a new
Animancer.ObjectPool`1.Disposable
and calls Animancer.ObjectPool`1.Acquire
to set the
Animancer.ObjectPool`1.Disposable.Item
and `item`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ObjectPool
.Disposable
Syntax
public static ObjectPool<T>.Disposable Acquire<T>(out T item) where T : class, new()
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
item | T |
Return Value
Type | Description |
---|---|
ObjectPool |