simeks / webgpu-headers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 97.4%Language:Makefile 1.4%Language:C++ 1.1%