Skip to content

gecko0307/wgpu-dlang

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

wgpu-dlang

bindbc-wgpu usage example - a PBR model rendering demo. Uses SDL2 for window creation and glslangValidator to compile shaders at build time.

Warning: highly experimental! I've tested it only on 64-bit Windows so far. On other platforms you have to install glslangValidator. It probably should work on Linux (X11/Wayland) and macOS (Metal), however has not been tested yet.

I'm currently writing a minimal object-oriented framework for the demo, so the code can be messy.

Screenshot

What is WebGPU?

It is a new low-level graphics and compute API for the Web that works on top of Vulkan, DirectX 12, or Metal. It exposes the generic computational facilities available in today's GPUs in a cross-platform way.

wgpu is a native WebGPU implementation in Rust that compiles to a library with C API, which can be used in any language.

About

WebGPU demo written in D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages