bindbc-wgpu 0.11.0

D language binding to gfx-rs/wgpu


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

DUB Package

bindbc-wgpu

Dynamic binding to gfx-rs/wgpu-native based on BindBC library loader. Supports Windows, Linux and macOS.

WebGPU specification is currently a working draft and not a standard yet. This binding may be not up to date with latest API revisions.

Usage:

"dependencies": {
    "bindbc-wgpu": "0.11.0"
}

Since 0.8.0, major and minor version numbers of the bindbc-wgpu package is in sync with wgpu-native versioning. Patch number can be different.

This repository also includes a simple triangle demo that can be compiled by running

dub build --config=demo

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 written in Rust that can be compiled to a shared library to use with any language. Its API is based on the W3C spec. It serves as the core of the WebGPU integration in Firefox, Servo, and Deno.

Some useful links:

Authors:
  • Timur Gafarov
Dependencies:
bindbc-loader
Versions:
0.11.0 2021-Dec-28
0.10.1 2021-Oct-15
0.10.0 2021-Oct-10
0.9.0 2021-Aug-25
0.8.0 2021-Jun-24
Show all 18 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 73 downloads total

Score:
1.0
Short URL:
bindbc-wgpu.dub.pm