initial commit - it's working

This commit is contained in:
2024-06-30 23:19:51 -04:00
commit a053e62c77
8 changed files with 212 additions and 0 deletions

15
zig-cimgui-tasks.md Normal file
View File

@@ -0,0 +1,15 @@
- 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