kTileCacheBytes top-level constant
int
const kTileCacheBytes
The cache's byte ceiling, counting the carry-over composite and every generation's tiles together.
96 MiB, not 64, for two reasons. A retired generation lives on as one viewport-sized composite (29.3 MiB on the reference viewport) beside the incoming generation's tiles (48.0 MiB at 512 px). And 96 MiB is the figure this cache may replace: the vertex buffer's high-water mark at 500,000 entities, which falls to a single tile's geometry once bakes flush per tile.
Implementation
const int kTileCacheBytes = 96 * 1024 * 1024;