initial commit - it's working
This commit is contained in:
15
zig-cimgui-tasks.md
Normal file
15
zig-cimgui-tasks.md
Normal 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
|
||||
|
Reference in New Issue
Block a user