API reference
API reference
Select your platform
No SDKs available
No versions available

PoolManager Class

A pool manager that manages pools of primitives.
Others
K
P

Member Functions

Adds a pool to the collection, associated with the given primitive.
Parameters
primitive
The primitive object used as a key for the pool.
pool
The pool to add to the collection.
Checks if a pool exists in the collection for the given primitive.
Parameters
primitive
The primitive object used as a key for the pool.
Returns
True if a pool exists for the given primitive, false otherwise.
Retrieves the pool associated with the given primitive from the collection.
Parameters
primitive
The primitive object used as a key for the pool.
Returns
The pool associated with the given primitive, or null if no such pool exists.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon