Files
zig-experiments/zimgui/zig-cimgui-tasks.md
David Allemang 2ddc780981 Add 'zimgui/' from commit 'a053e62c779b1ba303e21330b266a1b32d26b27a'
git-subtree-dir: zimgui
git-subtree-mainline: b0d2e231b0
git-subtree-split: a053e62c77
2025-08-04 22:14:47 -04:00

630 B

  • Export IMGUI_PATH environment variable to downloaded package.
  • cd generator directory
  • luajit generator.lua 'zig cc' 'comments internal noimstrv' glfw vulkan
  • compile cimgui/cimgui.cpp, imgui/.cpp, imgui/backends/.cpp all together
  • install cimgui/cimgui.h, imgui/*.h, cimgui/generator/output/cimgui_impl.h

Zig needs to access cimgui.h and cimgui_impl.h

Set a custom loader. Instructions in imgui_impl_vulkan.h

  • cdefine IMGUI_IMPL_VULKAN_NO_PROTOTYPES
  • call ImGui_ImplVulkan_LoadFunctions before ImGui_ImplVulkan_Init

not quite sure yet what the role of ImGui_ImplVulkanH_Window.UseDynamicRendering is