luma.gl v9 API and WebGPU
summary
luma.gl v9 rewrites the library in TypeScript around a core portable GPU API with two backends: WebGPU and WebGL; applications call createDevice and the device selection "best available" order returns WebGPU if installed else WebGL2. Shaders must be supplied twice or assembled now — model accepts an object with dual shader sources {glsl,wgsl} — because WGSL is required; resources become immutable, transform feedback is gone, compute pipelines are added, and v8 compatibility is dropped.
AI-written summary · about
