Material Clustering Benchmark
ObjectPoolMaxAssert< T > Class Template Reference
Inheritance diagram for ObjectPoolMaxAssert< T >:

Public Member Functions

void Clear ()
 
Get ()
 
UnityEngine.Pool.PooledObject< T > Get (out T obj)
 
 ObjectPoolMaxAssert (System.Func< T > createFunc, int maxActive)
 
void Release (T obj)
 

Public Attributes

readonly int maxActive
 

Properties

int CountInactive [get]
 

Detailed Description

Type Constraints
T :class 

Definition at line 3 of file ObjectPoolMaxAssert.cs.

Constructor & Destructor Documentation

◆ ObjectPoolMaxAssert()

ObjectPoolMaxAssert< T >.ObjectPoolMaxAssert ( System.Func< T >  createFunc,
int  maxActive 
)
inline

Definition at line 11 of file ObjectPoolMaxAssert.cs.

Member Function Documentation

◆ Clear()

void ObjectPoolMaxAssert< T >.Clear ( )
inline

Definition at line 38 of file ObjectPoolMaxAssert.cs.

◆ Get() [1/2]

T ObjectPoolMaxAssert< T >.Get ( )
inline

Definition at line 19 of file ObjectPoolMaxAssert.cs.

◆ Get() [2/2]

UnityEngine.Pool.PooledObject< T > ObjectPoolMaxAssert< T >.Get ( out T  obj)
inline

Definition at line 26 of file ObjectPoolMaxAssert.cs.

◆ Release()

void ObjectPoolMaxAssert< T >.Release ( obj)
inline

Definition at line 33 of file ObjectPoolMaxAssert.cs.

Member Data Documentation

◆ maxActive

readonly int ObjectPoolMaxAssert< T >.maxActive

Definition at line 7 of file ObjectPoolMaxAssert.cs.

Property Documentation

◆ CountInactive

int ObjectPoolMaxAssert< T >.CountInactive
get

Definition at line 43 of file ObjectPoolMaxAssert.cs.


The documentation for this class was generated from the following file: