API

Interface UniformBuffer

A GPU uniform allocation exposed without leaking its WebGPU handle.

interface UniformBuffer {
    "[uniformBufferBrand]": true;
    byteLength: number;
}
Index
"[uniformBufferBrand]": true

Opaque nominal brand.

byteLength: number

Writable capacity in bytes, padded to 16 bytes.