Bit flags for GpuBufferDescriptor.usage, from the WebGPU specification's
GPUBufferUsage namespace.
Written out rather than read off a global for the reason GL in the WebGL
backend is written out: the values are normative constants of a published
specification, and reading them from globalThis.GPUBufferUsage would make
the backend un-testable in Node — where that global does not exist — for no
gain at all.
Bit flags for
GpuBufferDescriptor.usage, from the WebGPU specification'sGPUBufferUsagenamespace.Written out rather than read off a global for the reason
GLin the WebGL backend is written out: the values are normative constants of a published specification, and reading them fromglobalThis.GPUBufferUsagewould make the backend un-testable in Node — where that global does not exist — for no gain at all.