bufferCount property

int get bufferCount

How many GPUBuffers this arena is holding, for WebGpuDevice.debugTrackedResourceCount. One, until a frame overflows it, and zero once dispose has destroyed them.

Implementation

int get bufferCount => _disposed ? 0 : 1 + _retired.length;