CloneContext.

CloneContext.Pool Class

Summary

An Animancer.ObjectPool`1 for Animancer.CloneContext.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
graph BT Type-->Base0["ObjectPool<CloneContext>"] Base0-->Base1["Object"] Type["CloneContext.Pool"] class Type type-node

Syntax

public class CloneContext.Pool : ObjectPool<CloneContext>

Fields

Name Constant Value Summary
Instance
Singleton.
static

Methods

Name Value Summary
Acquire() CloneContext
Returns a spare item if there are any, or creates a new one.
New() CloneContext
Creates a new() instance of T.
Release(CloneContext) void
Adds the `item` to the list of spares so it can be reused.