Pool:getUsage

Returns the amount of memory current in use by the Pool.

size = Pool:getUsage()

Arguments

None

Returns

NameTypeDescription
sizenumberThe size of the Pool.

Notes

Pool:drain can be used to reset the usage to zero (and invalidate vectors that have been allocated from the Pool).

See also