Skip to content

webgpu

const webgpu: (options?) => Plugin

Sprite renderer on WebGPU, with the same API and output as webgl2(). Falls back to WebGL2 where WebGPU is not available; renderer.backend tells which one runs. Browser WebGPU support is still young; webgl2() is the default for games.

RendererOptions

Plugin