Skip to content
/ zgui Public

Imgui and it's bindings for Zig

License

Notifications You must be signed in to change notification settings

Bergasms/zgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZGUI v0.1

It contains a clone of zgui by michal-z along with custom bindings inspired by michal-z's wgpu bindings.

Getting Started

Clone this repo, copy it to root of your project(root/lib is more preferred) In your build.zig file, add

exe.addPackage(zgui.zgui(exe));
exe.addPackage(zgui.glfw(exe)); //Make sure to add glfw as dependency (Prefered binding is mach_glfw)
exe.addPackage(zgui.opengl(exe)); //Add OpenGL support for Imgui
exe.addPackage(zgui.vulkan(exe)); //Add Vulkan support for Imgui

To run Examples

Please make sure the contents of this repository(excluding examples) are copied to examples/deps/zgui/

Currently Supported

  • OpenGL
  • GLFW (mach-glfw)
  • Vulkan

Planned

  • DirectX 10
  • DirectX 11
  • more

About

Imgui and it's bindings for Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published