debugWrittenCacheRegionNidCount property
Number of nids in _writtenCacheRegionNids. Exposed for tests that
verify the sparse-clear bound is O(viewport), not O(nidCapacity).
Implementation
@visibleForTesting
int get debugWrittenCacheRegionNidCount => _writtenCacheRegionNids.length;