MDN self-hosted library · e01.org

GPUQueue: label property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
device.queue.label = "my_queue";
console.log(device.queue.label); // "my_queue"
js
const device = adapter.requestDevice({
  defaultQueue: { label: "my_queue" },
});