TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IObjectPoolFactory in Tinman.Core.System

Base interface for classes that create objects for a pool.

interface IObjectPoolFactory with <T>  
  base of ObjectPoolFactory

Methods

Delete

The given object is no longer pooled and must be deleted

method Delete ([Owner] T obj)
params obj [not-null] The object.

New

Creates a new pooled object.

[OwnerReturn]
method New ()
type T
returns [not-null] The newly created object.

Return

A pooled object is about to be returned to the pool.

method Return (T obj)
params obj [not-null] The object that is returned to the pool.

Use

A pooled object is about to be used again.

method Use (T obj)
params obj [not-null] The object that is used again.