webgpu

module
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2026 License: Apache-2.0

README

WebGPU

IMPORTANT: please use https://github.com/oliverbestmann/webgpu as the currently-maintained fork of this original code!!

This repository is being maintained in its original state for the dependencies that used it, but will not be updated.

Original info

Go bindings for WebGPU, a cross-platform, safe graphics API. It runs natively using wgpu-native on Vulkan, Metal, D3D12, and OpenGL ES based on https://github.com/rajveermalviya/go-webgpu. It also comes with web (JS) support based on https://github.com/mokiat/wasmgpu.

For more information, see:

The included static libraries are built via GitHub Actions.

Examples

boids cube triangle
b-i c-i t-i

Sponsors

We thank Michael Reinstein and our other sponsors for their support, which allows us to spend more time improving Cogent Core and Go WebGPU.

Directories

Path Synopsis
cmd
enums command
examples
adapters command
boids command
capture command
compute command
cube command
triangle command
Package jsx provides essential JavaScript functions that are used widely in wgpu and are very useful for an wasm / js application.
Package jsx provides essential JavaScript functions that are used widely in wgpu and are very useful for an wasm / js application.
libs-android module
libs-darwin module
libs-ios module
libs-linux module
libs-windows module
lib

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL