GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ibilon/hxwgpu: hxwgpu is a work in progress haxe/hxcpp wrapper around wgpu-native, allowing the use of the WebGPU API on desktop

This repository was archived by the owner on Mar 12, 2022. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
wgpu-native @ 29c9b09
wgpu-native @ 29c9b09
 
 
wgpu
wgpu
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
cppia_host.hxml
cppia_host.hxml
 
 
extraParams.hxml
extraParams.hxml
 
 
haxelib.json
haxelib.json
 
 

Repository files navigation

(WIP) hxwgpu

Build Status

API Documentation: https://ibilon.github.io/hxwgpu/

hxwgpu is a work in progress haxe/hxcpp wrapper around wgpu-native, allowing the use of the WebGPU API on desktop.

The library is null safe and compatible cppia, see cppia_host.hxml and the samples on how to use cppia.

Currently only tested on linux with X11.

Plans:

  • Complete the API
  • Test support with GLFW on windows and mac

Building

hxwgpu requires building wgpu-native, which needs a working rust installation, see https://github.com/gfx-rs/wgpu/wiki/Getting-Started#prerequisites for more details on the requirements.

Usage

Make sure to clone this repository with --recursive, or download the submodule with git submodule update --init.

The library follows the API from wgpu-rs with a couple exceptions:

  • Functions and members use camelCase instead of snake_case
  • Adapter::request is replaced with new Adapter
  • AdapterInfo is not available
  • device.createBufferWithData is replaced with device.createBufferWithFloat32Data, device.createBufferWithUInt16Data and device.createBufferWithUInt32Data
  • Surface::create is replaced with Surface.fromGLFW supporting the hxglfw library

Samples are available at https://github.com/ibilon/hxwgpu-samples/.

License

This library is MIT licensed, wgpu-native is MPL-2.0 licensed and has several dependencies.

About

hxwgpu is a work in progress haxe/hxcpp wrapper around wgpu-native, allowing the use of the WebGPU API on desktop

ibilon.github.io/hxwgpu

Topics

haxehxcppwebgpuwgpuwgpu-rs

Resources

Readme
MIT license
Activity

Stars

12 stars

Watchers

0 watching

Forks

1 fork
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.