Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.57 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.57 KB

@kmamal/gpu

Package Dependencies Vulnerabilities License: MIT

BEWARE: The WebGPU specification is still a work-in-progress and could change any time.

WebGPU for Node.js via Google Dawn. Allows you to use WebGPU without a browser.

It should work on Linux, Mac, and Windows. Prebuilt binaries are available for x64 architectures, and arm-based Macs.

Instructions

Check the examples for how to use this package. You can use both compute and render pipelines, but for render pipelines there's of course no surface to display the result on, so you have to read it out into a buffer to use it.

TODO

In the future you should be able to use this package together with @kmamal/sdl to get direct rendering to window surfaces. The goal of this package is to be for WebGPU what @kmamal/gl is for WebGL.