mreinstein / cobalt

WebGpu 2D renderer
MIT License
6 stars 0 forks source link

provide an example using SDL + webgpu #12

Closed mreinstein closed 4 months ago

mreinstein commented 4 months ago

cobalt currently assumes a web canvas context is the webgpu render backing.

However there is an alternative, using node + SDL + gpu which eliminates the need for a browser altogether.

https://github.com/kmamal/node-sdl

https://github.com/kmamal/gpu

I'd like cobalt to be usable this way.