jonobr1 / two.js

A renderer agnostic two-dimensional drawing api for the web.
https://two.js.org
MIT License
8.29k stars 454 forks source link

WebGPU Renderer #595

Open jonobr1 opened 2 years ago

jonobr1 commented 2 years ago

Is your feature request related to a problem? Please describe. It's nowhere near a release candidate (see caniuse), but having a WebGPU renderer seems like the natural evolution of renderers in Two.js.

Describe the solution you'd like Be able to tap into WebGPU like so:

var two = new Two({ type: Two.Types.webgpu });

Additional context Latest updates of w3c specification live here: https://www.w3.org/TR/webgpu/