Photon .NET Client API 4.1.4.8

Public Member Functions | Properties | List of all members
ExitGames.Client.Photon.Pool< T > Class Template Reference

Public Member Functions

 Pool (Func< T > createFunction, Action< T > resetFunction, int poolCapacity)
 
 Pool (Func< T > createFunction, int poolCapacity)
 
void Push (T item)
 
void Release (T item)
 
Pop ()
 
Acquire ()
 

Properties

int Count [get]
 

Constructor & Destructor Documentation

◆ Pool() [1/2]

ExitGames.Client.Photon.Pool< T >.Pool ( Func< T >  createFunction,
Action< T >  resetFunction,
int  poolCapacity 
)
inline

◆ Pool() [2/2]

ExitGames.Client.Photon.Pool< T >.Pool ( Func< T >  createFunction,
int  poolCapacity 
)
inline

Member Function Documentation

◆ Acquire()

T ExitGames.Client.Photon.Pool< T >.Acquire ( )
inline

◆ Pop()

T ExitGames.Client.Photon.Pool< T >.Pop ( )
inline

◆ Push()

void ExitGames.Client.Photon.Pool< T >.Push ( item)
inline

◆ Release()

void ExitGames.Client.Photon.Pool< T >.Release ( item)
inline

Property Documentation

◆ Count

int ExitGames.Client.Photon.Pool< T >.Count
get

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