ReadonlyattachmentCurrent depth/pick attachment size in pixels, when a frame has rendered.
ReadonlycpuCPU staging memory retained for per-prototype instance re-packing.
ReadonlygpuUpper bound on the depth and object-id attachments at the current size.
Zero before the first sizing, and excluded from gpuBufferBytes because a
texture is not a buffer allocation.
ReadonlygpuPer-batch index, edge, and instance buffers. Disjoint from the pools.
ReadonlygpuThe three figures above, and nothing else.
ReadonlygpuThe single camera uniform buffer, which no batch owns.
ReadonlygpuPrototype vertex pools, charged once each however many material groups share one. Summing per batch would count the largest sixty5 prototype's pool 111 times.
Allocation census of renderer-owned resources, split so that each number has one owner and the inclusion relationships between them are stated rather than inferred. Every buffer figure is exact -- WebGPU allocates what was asked for -- while the attachment figure is an upper bound (see
attachmentPairByteLength).