Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minegame159/wgpu-beef
WGPU-Beef is a Beef wrapper library for WGPU (more specifically wgpu-native).
https://github.com/minegame159/wgpu-beef
Last synced: 7 days ago
JSON representation
WGPU-Beef is a Beef wrapper library for WGPU (more specifically wgpu-native).
- Host: GitHub
- URL: https://github.com/minegame159/wgpu-beef
- Owner: MineGame159
- License: mit
- Created: 2022-05-20T13:33:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T07:36:47.000Z (over 1 year ago)
- Last Synced: 2024-11-12T06:05:53.907Z (2 months ago)
- Language: Beef
- Size: 43.4 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WGPU-Beef
**wgpu-beef** is a Beef wrapper library for **WGPU** (more specifically [wgpu-native](https://github.com/gfx-rs/wgpu-native)).
You can find an example [here](https://github.com/MineGame159/wgpu-beef/blob/master/example/src/Program.bf).## Notes
- The [core bindings](https://github.com/MineGame159/wgpu-beef/blob/master/src/Wgpu.bf) are automatically generated from latest release.
- Functions are kept as they are but if the function is a method for a struct object handle then a method for that struct is generated too.
- All structs have a default empty constructor (allowing for `.() {}` syntax) and a constructor with all fields.
- There are a few helper functions ported from wgpu-rs (see [Helper.bf](https://github.com/MineGame159/wgpu-beef/blob/master/src/Wgpu.bf)). Pull requests for these helper functions are welcome.
- There is a [glfw compatiblity subproject](https://github.com/MineGame159/wgpu-beef/tree/master/wgpu-glfw) which adds `Wgpu.CreateSurfaceFromGlfw(Wgpu.Instance, GlfwWindow*)` function. (Currently only works on Windows and Linux using X11)
- There is an [ImGui rendering backend subproject](https://github.com/MineGame159/wgpu-beef/tree/master/wgpu-imgui) which adds `ImGuiImplWgpu` static class to the `ImGui` namespace.