Quantum 3 3.0.14

Public Member Functions | List of all members
Photon.Deterministic.DeterministicTickInput.Pool Class Reference

The input objects are pooled. More...

Public Member Functions

DeterministicTickInput Acquire ()
 Create a new input object from the pool. More...
 
void Release (DeterministicTickInput input)
 Return the input object to the pool. Will reset the object before. More...
 

Detailed Description

The input objects are pooled.

Member Function Documentation

◆ Acquire()

DeterministicTickInput Photon.Deterministic.DeterministicTickInput.Pool.Acquire ( )
inline

Create a new input object from the pool.

Returns
DeterministicTickInput instance

◆ Release()

void Photon.Deterministic.DeterministicTickInput.Pool.Release ( DeterministicTickInput  input)
inline

Return the input object to the pool. Will reset the object before.

Parameters
inputInput object to be pooled