Skip to content

WGPU-Beef is a Beef wrapper library for WGPU (more specifically wgpu-native).

License

Notifications You must be signed in to change notification settings

MineGame159/wgpu-beef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WGPU-Beef

wgpu-beef is a Beef wrapper library for WGPU (more specifically wgpu-native).
You can find an example here.

Notes

  • The core bindings 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). Pull requests for these helper functions are welcome.
  • There is a glfw compatiblity subproject which adds Wgpu.CreateSurfaceFromGlfw(Wgpu.Instance, GlfwWindow*) function. (Currently only works on Windows and Linux using X11)
  • There is an ImGui rendering backend subproject which adds ImGuiImplWgpu static class to the ImGui namespace.

About

WGPU-Beef is a Beef wrapper library for WGPU (more specifically wgpu-native).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published