setLabel method
Names resource — a TextureHandle, GeometryBuffer, StorageBuffer,
PipelineHandle, QuerySet or RenderBundle this device made — for a
GPU debugger, a frame capture and the memory report.
A backend whose API carries labels (WebGPU's label) passes it on; the
default keeps it where labelOf reads it, and does nothing else.
Implementation
void setLabel(Object resource, String label) => _labels[resource] = label;