Skip to content

A minimal webGPU toolkit for rendering and compute pipelines

Notifications You must be signed in to change notification settings

JMBeresford/webgpu-kit

Repository files navigation

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:

# npm i @webgpu-kit/<package>

# e.g. to install the core package
npm i @webgpu-kit/core