EntityPoolSnapshot Struct
Immutable snapshot of a EntityPool's current state. More...
Declaration
Public Member Attributes Index
| const size_t | activeCount |
|
Number of currently active (in-use) entities in the pool. More... | |
| const size_t | inactiveCount |
|
Number of currently inactive (available) entities in the pool. More... | |
Description
Immutable snapshot of a EntityPool's current state.
EntityPoolSnapshot provides a point-in-time view of a pool's active and inactive entity counts. This is useful for monitoring pool utilization, debugging spawn issues, and making spawn decisions based on available capacity.
The snapshot is read-only and captures the state at creation time; subsequent pool operations do not affect it.
Example usage:
- See Also
- See Also
Definition at line 35 of file EntityPoolSnapshot.ixx.
Public Member Attributes
activeCount
|
Number of currently active (in-use) entities in the pool.
Definition at line 40 of file EntityPoolSnapshot.ixx.
inactiveCount
|
Number of currently inactive (available) entities in the pool.
Definition at line 45 of file EntityPoolSnapshot.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.