github.com/gogpu/wgpu
Package wgpu provides a safe, ergonomic WebGPU API for Go applications. This package wraps the lower-level hal/ and core/ packages into a user-friendly API aligned with the W3C WebGPU specification. Import this package and a backend registration package: All GPU resources must be explicitly released with Release(). Resources are reference-counted internally. Using a released resource panics. Backends are registered via blank imports: Instance, Adapter, and Device are safe for concurrent use. Encoders (CommandEncoder, RenderPassEncoder, ComputePassEncoder) are NOT thread-safe.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
2 days ago
v0.19.7
2 days ago
Versions
66
66
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 57 on GitHub |
| Forks | 4 on GitHub |
Rankings on proxy.golang.org
Overall
Top 5.2%