@alancnet/dawn
v0.0.5
Published
Dawn, a WebGPU implementation
Downloads
5
Readme
Dawn, a WebGPU implementation
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard.
More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL.
Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
This project is a pre-compiled version of Dawn for Linux. It is intended to be used as a dependency for Node.js projects that use WebGPU.
Usage
const { create } = require('dawn');
const gpu = await create();
// ... gpu will be an instance of WebGPU's GPU object