Docs

WebGPU-Kit

A minimal webGPU toolkit for rendering and compute operations

UNDER HEAVY DEVELOPMENT

Table of Contents


About this project

WebGPU-Kit aims to provide varying levels of abstraction around the webGPU spec.

The core package is intended to be a small wrapper around webGPU to reduce boilerplate and to make construction and execution of pipelines more straight-forward.

The forward package is intended to be yet another small wrapper around the core package that exposes an API for a forward rendering solution akin to Three.js.

Other packages are planned to expose additional APIs:

  • shaders: contains reusable, configurable wgsl shader chunks
  • react: contains react bindings for the core/forward packages

Packages

Installation

In order to install the packages run the following:

1# npm i @webgpu-kit/<package>
2
3# e.g. to install the core package
4npm i @webgpu-kit/core
5

You are viewing the beta docs. You may find the legacy docs more helpful.