capacityInBytes property

int get capacityInBytes

Total bytes reserved across all GPU buffers.

Implementation

int get capacityInBytes =>
    _blocks.fold(0, (total, block) => total + block.buffer.sizeInBytes);