ReadonlyclassReadonlyisReadonlylayoutdata
data
Monotonic CPU-data revision shared by WebGL2 and WebGPU upload caches.
Return retained writes newer than a backend-local revision. null means the consumer fell
behind the bounded history window and must upload the complete current buffer.
Mark externally mutated bytes for upload on every context using this buffer.
Pack and update a named field when this buffer was constructed from a std140 layout.
Copy raw bytes into the backing store and enqueue the smallest possible GPU update.
Staticfrom
Portable std140 uniform block shared byte-for-byte by WebGL2 and WebGPU.