Skip to content

eliemichel/webgpu-headers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU headers

This repository contains C headers equivalent to the WebGPU API and (soon) documentation on the native specificities of the headers.

While WebGPU is a JavaScript API made for the Web, it is a good tradeoff of ergonomic, efficient and portable graphics API. Almost all of its concepts are not specific to the Web platform and the headers replicate them exactly, while adding capabilities to interact with native concepts (like windows).

All of the API is defined in the webgpu.h header.

Implementations of this header include:

  • Dawn, Chromium's C++ WebGPU implementation library
  • wgpu-native, Firefox's Rust WebGPU implementation library
  • Emscripten translates webgpu.h calls to JavaScript WebGPU calls when compiling to WASM

Releases

No releases published

Packages

No packages published

Languages

  • C 97.5%
  • Makefile 1.4%
  • C++ 1.1%