Compare commits

..

28 Commits

Author SHA1 Message Date
sonoro1234
6d0a376516 pull imgui 1.92.1 and generate 2025-07-14 09:41:32 +02:00
sonoro1234
ce46a36843 Merge branch 'docking_inter' 2025-07-01 11:34:22 +02:00
sonoro1234
cf8523f31f Merge branch 'docking_inter' 1.92.0dock_b 2025-06-27 11:51:33 +02:00
sonoro1234
0b0a04de25 Merge branch 'docking_inter' 2025-03-22 10:23:01 +01:00
sonoro1234
e9a4157067 Merge remote-tracking branch 'remotes/origin/docking_inter' 2025-03-15 08:23:45 +01:00
sonoro1234
d6b4ecda71 Merge branch 'docking_inter' 2025-02-04 16:42:14 +01:00
sonoro1234
1427639147 Merge branch 'docking_inter' 2025-01-21 16:06:26 +01:00
sonoro1234
e3b48a15f0 Merge branch 'docking_inter' 2024-12-12 13:20:21 +01:00
sonoro1234
8ec6558ecc Merge branch 'docking_inter' 2024-11-18 18:26:51 +01:00
sonoro1234
43429513a8 Merge branch 'docking_inter' 2024-10-19 12:05:11 +02:00
sonoro1234
79e40b6657 Merge branch 'docking_inter' 2024-10-05 11:06:45 +02:00
sonoro1234
833e9366de Merge branch 'docking_inter' 2024-10-01 13:05:38 +02:00
sonoro1234
74902e7392 Merge branch 'docking_inter' 2024-09-08 11:57:14 +02:00
sonoro1234
143c37b7ac Merge branch 'docking_inter' 2024-07-31 11:27:49 +02:00
sonoro1234
7c79f59fa2 Merge branch 'docking_inter' 2024-07-03 11:14:11 +02:00
sonoro1234
35fdbf393f Merge branch 'docking_inter' 2024-06-07 13:26:08 +02:00
sonoro1234
bf02a1552e Merge branch 'docking_inter' 2024-05-28 10:18:05 +02:00
sonoro1234
481cd32543 Merge branch 'docking_inter' 2024-05-10 17:11:32 +02:00
sonoro1234
d222bc5a4e Merge branch 'docking_inter' 2024-04-19 10:54:29 +02:00
sonoro1234
f0fb387921 Merge branch 'docking_inter' 2024-02-24 13:15:42 +01:00
sonoro1234
c7133969db Merge branch 'docking_inter' 2024-02-16 11:36:05 +01:00
sonoro1234
0821a31dfe Merge branch 'docking_inter' 2024-02-14 11:17:50 +01:00
sonoro1234
9009dd72e9 Merge branch 'docking_inter' 1.90.1 2024-01-12 11:27:04 +01:00
sonoro1234
b6e02f4131 Merge branch 'docking_inter' 2023-11-17 11:08:06 +01:00
sonoro1234
b28023c3f6 Merge branch 'docking_inter' 2023-09-08 18:09:15 +02:00
sonoro1234
1bb9cd7347 Merge branch 'docking_inter' 2023-04-18 10:43:06 +02:00
sonoro1234
d24246adfd Merge branch 'docking_inter' 2023-02-15 10:18:15 +01:00
sonoro1234
6dba58d90f merge from docking_inter 2023-01-07 11:34:35 +01:00
20 changed files with 7299 additions and 15418 deletions

View File

@@ -11,7 +11,7 @@ History:
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
Notes:
* currently this wrapper is based on version [1.92.4 of Dear ImGui with internal api]
* currently this wrapper is based on version [1.92.0 of Dear ImGui with internal api]
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
* All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty.

View File

@@ -264,7 +264,7 @@ static void SetupVulkanWindow(ImGui_ImplVulkanH_Window* wd, VkSurfaceKHR surface
// Create SwapChain, RenderPass, Framebuffer, etc.
IM_ASSERT(g_MinImageCount >= 2);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, g_Allocator, width, height, g_MinImageCount, 0);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, g_Allocator, width, height, g_MinImageCount);
}
static void CleanupVulkan()
@@ -394,18 +394,18 @@ int main(int argc, char* argv[])
// Create window with Vulkan graphics context
float main_scale = SDL_GetDisplayContentScale(SDL_GetPrimaryDisplay());
SDL_WindowFlags window_flags = SDL_WINDOW_VULKAN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
SDL_Window* window = SDL_CreateWindow("Dear ImGui SDL3+Vulkan example", (int)(1280 * main_scale), (int)(800 * main_scale), window_flags);
SDL_Window* window = SDL_CreateWindow("Dear ImGui SDL3+Vulkan example", (int)(1280 * main_scale), (int)(720 * main_scale), window_flags);
if (window == NULL)
{
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
return 1;
return -1;
}
// Setup Vulkan
uint32_t extensions_count = 0;
const char *const *extensions_nude = SDL_Vulkan_GetInstanceExtensions(&extensions_count);
if (extensions_nude == NULL) {
printf("Error: SDL_Vulkan_GetInstanceExtensions(): %s\n", SDL_GetError());
return 1;
return -1;
}
const char** extensions = (const char**)malloc(extensions_count * sizeof(const char*));
if (extensions == NULL) {
@@ -472,12 +472,12 @@ int main(int argc, char* argv[])
init_info.Queue = g_Queue;
init_info.PipelineCache = g_PipelineCache;
init_info.DescriptorPool = g_DescriptorPool;
init_info.RenderPass = wd->RenderPass;
init_info.Subpass = 0;
init_info.MinImageCount = g_MinImageCount;
init_info.ImageCount = wd->ImageCount;
init_info.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
init_info.Allocator = g_Allocator;
init_info.PipelineInfoMain.RenderPass = wd->RenderPass;
init_info.PipelineInfoMain.Subpass = 0;
init_info.PipelineInfoMain.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
init_info.CheckVkResultFn = check_vk_result;
ImGui_ImplVulkan_Init(&init_info);
@@ -536,7 +536,7 @@ int main(int argc, char* argv[])
if (fb_width > 0 && fb_height > 0 && (g_SwapChainRebuild || g_MainWindowData.Width != fb_width || g_MainWindowData.Height != fb_height))
{
ImGui_ImplVulkan_SetMinImageCount(g_MinImageCount);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_width, fb_height, g_MinImageCount, 0);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_width, fb_height, g_MinImageCount);
g_MainWindowData.FrameIndex = 0;
g_SwapChainRebuild = false;
}

View File

@@ -268,7 +268,7 @@ static void SetupVulkanWindow(ImGui_ImplVulkanH_Window* wd, VkSurfaceKHR surface
// Create SwapChain, RenderPass, Framebuffer, etc.
IM_ASSERT(g_MinImageCount >= 2);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, g_Allocator, width, height, g_MinImageCount, 0);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, g_Allocator, width, height, g_MinImageCount);
}
static void CleanupVulkan()
@@ -390,7 +390,7 @@ int main(int argc, char* argv[])
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_GAMECONTROLLER) != 0)
{
printf("Error: %s\n", SDL_GetError());
return 1;
return -1;
}
// From 2.0.18: Enable native IME.
@@ -405,7 +405,7 @@ int main(int argc, char* argv[])
if (window == NULL)
{
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
return 1;
return -1;
}
// Setup Vulkan
uint32_t extensions_count = 0;
@@ -467,12 +467,12 @@ int main(int argc, char* argv[])
init_info.Queue = g_Queue;
init_info.PipelineCache = g_PipelineCache;
init_info.DescriptorPool = g_DescriptorPool;
init_info.RenderPass = wd->RenderPass;
init_info.Subpass = 0;
init_info.MinImageCount = g_MinImageCount;
init_info.ImageCount = wd->ImageCount;
init_info.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
init_info.Allocator = g_Allocator;
init_info.PipelineInfoMain.RenderPass = wd->RenderPass;
init_info.PipelineInfoMain.Subpass = 0;
init_info.PipelineInfoMain.MSAASamples = VK_SAMPLE_COUNT_1_BIT;
init_info.CheckVkResultFn = check_vk_result;
ImGui_ImplVulkan_Init(&init_info);
@@ -531,7 +531,7 @@ int main(int argc, char* argv[])
if (fb_width > 0 && fb_height > 0 && (g_SwapChainRebuild || g_MainWindowData.Width != fb_width || g_MainWindowData.Height != fb_height))
{
ImGui_ImplVulkan_SetMinImageCount(g_MinImageCount);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_width, fb_height, g_MinImageCount, 0);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_width, fb_height, g_MinImageCount);
g_MainWindowData.FrameIndex = 0;
g_SwapChainRebuild = false;
}

1544
cimgui.cpp

File diff suppressed because it is too large Load Diff

1424
cimgui.h

File diff suppressed because it is too large Load Diff

View File

@@ -8,44 +8,44 @@ typedef struct GLFWmonitor GLFWmonitor;
struct GLFWwindow;
struct GLFWmonitor;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_Shutdown(void);
CIMGUI_API void ImGui_ImplGlfw_NewFrame(void);
CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_SetCallbacksChainForAllWindows(bool chain_for_all_windows);
CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused);
CIMGUI_API void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window,int entered);
CIMGUI_API void ImGui_ImplGlfw_CursorPosCallback(GLFWwindow* window,double x,double y);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForMonitor(GLFWmonitor* monitor);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForWindow(GLFWwindow* window);
CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_NewFrame(void);
CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset);
CIMGUI_API void ImGui_ImplGlfw_SetCallbacksChainForAllWindows(bool chain_for_all_windows);
CIMGUI_API void ImGui_ImplGlfw_Shutdown(void);
CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
CIMGUI_API void ImGui_ImplGlfw_Sleep(int milliseconds);
CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForWindow(GLFWwindow* window);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForMonitor(GLFWmonitor* monitor);
#endif
#ifdef CIMGUI_USE_OPENGL3
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void);
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL3_UpdateTexture(ImTextureData* tex);
#endif
#ifdef CIMGUI_USE_OPENGL2
CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(void);
CIMGUI_API bool ImGui_ImplOpenGL2_Init(void);
CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void);
CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL2_UpdateTexture(ImTextureData* tex);
#endif
@@ -61,18 +61,18 @@ struct _SDL_GameController;
typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL2_GamepadMode_AutoFirst, ImGui_ImplSDL2_GamepadMode_AutoAll, ImGui_ImplSDL2_GamepadMode_Manual }ImGui_ImplSDL2_GamepadMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL2_InitForOther(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForOther(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL2_Shutdown(void);
CIMGUI_API void ImGui_ImplSDL2_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
CIMGUI_API void ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL2_Shutdown(void);
#endif
#ifdef CIMGUI_USE_SDL3
@@ -87,17 +87,17 @@ struct SDL_Gamepad;
typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForD3D(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForMetal(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLGPU(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLGPU(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
CIMGUI_API void ImGui_ImplSDL3_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event);
CIMGUI_API void ImGui_ImplSDL3_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
#endif
#ifdef CIMGUI_USE_VULKAN
@@ -105,15 +105,6 @@ CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
typedef struct ImGui_ImplVulkanH_Frame ImGui_ImplVulkanH_Frame;
typedef struct ImGui_ImplVulkanH_Window ImGui_ImplVulkanH_Window;
typedef struct ImGui_ImplVulkan_PipelineInfo ImGui_ImplVulkan_PipelineInfo;
struct ImGui_ImplVulkan_PipelineInfo
{
VkRenderPass RenderPass;
uint32_t Subpass;
VkSampleCountFlagBits MSAASamples;
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
VkImageUsageFlags SwapChainImageUsage;
};
typedef struct ImGui_ImplVulkan_InitInfo ImGui_ImplVulkan_InitInfo;
struct ImGui_ImplVulkan_InitInfo
{
@@ -124,18 +115,18 @@ struct ImGui_ImplVulkan_InitInfo
uint32_t QueueFamily;
VkQueue Queue;
VkDescriptorPool DescriptorPool;
uint32_t DescriptorPoolSize;
VkRenderPass RenderPass;
uint32_t MinImageCount;
uint32_t ImageCount;
VkSampleCountFlagBits MSAASamples;
VkPipelineCache PipelineCache;
ImGui_ImplVulkan_PipelineInfo PipelineInfoMain;
ImGui_ImplVulkan_PipelineInfo PipelineInfoForViewports;
uint32_t Subpass;
uint32_t DescriptorPoolSize;
bool UseDynamicRendering;
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
const VkAllocationCallbacks* Allocator;
void (*CheckVkResultFn)(VkResult err);
VkDeviceSize MinAllocationSize;
VkShaderModuleCreateInfo CustomShaderVertCreateInfo;
VkShaderModuleCreateInfo CustomShaderFragCreateInfo;
};
typedef struct ImGui_ImplVulkan_RenderState ImGui_ImplVulkan_RenderState;
struct ImGui_ImplVulkan_RenderState
@@ -174,6 +165,7 @@ struct ImGui_ImplVulkanH_Window
VkSurfaceFormatKHR SurfaceFormat;
VkPresentModeKHR PresentMode;
VkRenderPass RenderPass;
VkPipeline Pipeline;
bool UseDynamicRendering;
bool ClearEnable;
VkClearValue ClearValue;
@@ -189,25 +181,23 @@ struct ImGui_ImplVulkanH_Window
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage);
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_GetWindowDataFromViewport(ImGuiViewport* viewport);
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void);
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout);
CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info);
CIMGUI_API bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info);
CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);
CIMGUI_API void ImGui_ImplVulkan_Shutdown(void);
CIMGUI_API void ImGui_ImplVulkan_NewFrame(void);
CIMGUI_API void ImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set);
CIMGUI_API void ImGui_ImplVulkan_RenderDrawData(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline);
CIMGUI_API void ImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count);
CIMGUI_API void ImGui_ImplVulkan_Shutdown(void);
CIMGUI_API void ImGui_ImplVulkan_UpdateTexture(ImTextureData* tex);
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout);
CIMGUI_API void ImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set);
CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count);
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator);
CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void);
#endif
#endif //CIMGUI_IMPL_DEFINED

View File

@@ -49,8 +49,6 @@ struct SDL_Window;
typedef union SDL_Event SDL_Event;
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
PLACE_STRUCTS_C
#include "auto_funcs.h"
/////////////////////////hand written functions

View File

@@ -1,5 +1,5 @@
local M = {}
local insert = table.insert
local function ToStr(t,dometatables)
local function basicToStr (o)
if type(o) == "number" or type(o)=="boolean" then
@@ -936,7 +936,7 @@ local function itemsCount(items)
print(v,its and #its or 0)
end
end
--adding self argument for struct functions
local function AdjustArguments(FP)
for fun,defs in pairs(FP.defsT) do
--struct function but no constructors or static functions or manuals
@@ -1083,7 +1083,6 @@ local function DefsByStruct(FP)
end
return structs
end
M.DefsByStruct = DefsByStruct
local function get_nonPOD(FP)
local defbystruct = DefsByStruct(FP)
--M.prtable(defbystruct)
@@ -1103,200 +1102,8 @@ local function get_nonPOD(FP)
FP.structs_and_enums_table.nonPOD = nonPOD
return nonPOD
end
M.get_nonPOD = get_nonPOD
local function gen_structs_c(FP)
local structs = FP.structs_and_enums_table.structs
local tabs = {}
local tabs_c = {}
--for k,v in pairs(FP.nP_used) do
M.table_do_sorted(FP.nP_used, function(k,v)
insert(tabs,"typedef struct "..k.."_c "..k.."_c;")
insert(tabs_c,"typedef struct "..k.."_c "..k..";")
insert(tabs,"struct "..k.."_c {")
local struct = structs[k]
for i,field in ipairs(struct) do
insert(tabs," "..field.type.." "..field.name..";")
end
insert(tabs,"};")
end)
if #tabs > 0 then
insert(tabs,1,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS")
insert(tabs,"#endif")
end
if #tabs_c > 0 then
insert(tabs_c,1,"#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS")
insert(tabs_c,"#endif")
end
--print(table.concat(tabs_c,"\n"))
--print(table.concat(tabs,"\n"))
return table.concat(tabs_c,"\n").."\n"..table.concat(tabs,"\n")
--return table.concat(tabs,"\n")
end
local function gen_field_conversion(tab, struct, FP, prefix)
prefix = prefix or ""
local structs = FP.structs_and_enums_table.structs
for i,field in ipairs(struct) do
if FP.nP_used[field.type] then
gen_field_conversion(tab, structs[field.type],FP, prefix..field.name..".")
else
insert(tab," dest."..prefix..field.name.." = src."..prefix..field.name..";")
end
end
end
local function genConversions(FP)
local structs = FP.structs_and_enums_table.structs
local convers = {}
--for k,v in pairs(FP.nP_used) do
M.table_do_sorted(FP.nP_used, function(k,v)
insert(convers,"static inline "..k.." ConvertToCPP_"..k.."(const "..k.."_c& src)")
insert(convers,"{")
insert(convers," "..k.." dest;")
local struct = structs[k]
gen_field_conversion(convers,struct,FP)
insert(convers," return dest;")
insert(convers,"}")
insert(convers,"static inline "..k.."_c ConvertFromCPP_"..k.."(const "..k.."& src)")
insert(convers,"{")
insert(convers," "..k.."_c dest;")
local struct = structs[k]
gen_field_conversion(convers,struct,FP)
insert(convers," return dest;")
insert(convers,"}")
end)
--print(table.concat(convers,"\n"))
return table.concat(convers,"\n")
end
local function get_nonPODused(FP)
--print("get_nonPODused-----------------------------")
local nonPOD = FP.structs_and_enums_table.nonPOD
--M.prtable(nonPOD)
local typeargs = {}
local typeargs_ret = {}
for k,defs in pairs(FP.defsT) do
--print(k)
for i, w in ipairs(defs) do
if not w.templated then --and not w.location:match"internal" then
for ii,arg in ipairs(w.argsT) do
local typ = (arg.type):gsub("&","")
--typ = (typ):gsub("*","")
typ = (typ):gsub("const ","")
if nonPOD[typ] then
--print(arg.type,w.ov_cimguiname,w.location)
typeargs[arg.type] = (arg.type):gsub(typ,typ.."_c")
end
end
local typret = (w.ret or ""):gsub("&","")
--typret = (typret):gsub("*","")
typret = (typret):gsub("const ","")
--print(typret)
if nonPOD[typret] then
--print(w.ret,w.ov_cimguiname,w.location)
typeargs_ret[w.ret] = (w.ret):gsub(typret,typret.."_c")
end
end
end
end
local all_type_nP = {}
for k,v in pairs(typeargs) do
local k2 = k:gsub("const ","")
all_type_nP[k2] = true
end
for k,v in pairs(typeargs_ret) do
local k2 = k:gsub("const ","")
all_type_nP[k2] = true
end
FP.nP_used = all_type_nP
FP.nP_args = typeargs
FP.nP_ret = typeargs_ret
--genConversions(FP)
--M.prtable(typeargs,typeargs_ret,all_type_nP)
-- local typeargs2 = {}
-- for k,v in pairs(typeargs) do table.insert(typeargs2,k) end
-- table.sort(typeargs2)
-- print"------------typeargs2----------------"
-- M.prtable(typeargs2)
-- local typeargs2_ret = {}
-- for k,v in pairs(typeargs_ret) do table.insert(typeargs2_ret,k) end
-- table.sort(typeargs2_ret)
-- print"------------typeargs2_ret----------------"
-- M.prtable(typeargs2_ret)
end
local function header_subs_nonPOD(FP,txt)
--print("----------header_subs_nonPOD")
--M.prtable(FP.nP_used)
for k,v in pairs(FP.nP_used) do
--txt = txt:gsub("([%s;])"..k,"%1"..k.."_c")
for i=1,2 do
txt = txt:gsub("([%s;])"..k.."([%s;%*])", "%1"..k.."_c%2")
end
--txt = txt:gsub("%s"..k..";", " "..k.."_c;")
--txt = txt:gsub("%s"..k.."%*", " "..k.."_c*")
end
return txt
end
M.header_subs_nonPOD = header_subs_nonPOD
local function ADDnonUDT(FP)
local nonPOD = get_nonPOD(FP)
get_nonPODused(FP)
for k,defs in pairs(FP.defsT) do
for i, def in ipairs(defs) do
--ret
local rets = (def.ret or ""):gsub("const ","")
rets = rets:gsub("*","")
if FP.nP_ret[def.ret] then
def.conv = (def.ret):gsub("const ","")
def.ret = FP.nP_ret[def.ret]
def.nonUDT = 1
elseif FP.nP_ret[rets] then
def.ret = def.ret:gsub(rets, FP.nP_ret[rets])
def.nonUDT = 2
end
--args
local caar,asp
if #def.argsT > 0 then
caar = "("
asp = "("
for i,v in ipairs(def.argsT) do
local name = v.name
if v.ret then --function pointer
local f_ = v.has_cdecl and "(__cdecl*" or "(*"
asp = asp .. v.ret .. f_ .. v.name .. ")" .. v.signature .. ","
caar = caar .. name .. ","
else
local typ = v.type:gsub("const ","")
local typ2 = typ:gsub("*","")
if FP.nP_args[v.type] then
caar = caar .. "ConvertToCPP_"..typ.."("..name.."),"
asp = asp .. v.type:gsub(typ,typ.."_c").." "..v.name..","
elseif FP.nP_args[typ2] then
local typ3 = v.type:gsub(typ2,typ2.."_c")
caar = caar .. "reinterpret_cast<"..v.type..">("..name.."),"
asp = asp .. typ3 .." "..v.name..","
else
local siz = v.type:match("(%[%d*%])") or ""
local typ = v.type:gsub("(%[%d*%])","")
asp = asp .. typ .. (v.name~="..." and " "..v.name or "") .. siz .. ","
local callname = v.reftoptr and "*"..name or name
caar = caar .. callname .. ","
end
end
end
caar = caar:sub(1,-2)..")"
asp = asp:sub(1,-2)..")"
else
caar = "()"
asp = "()"
end
def.call_args = caar
def.args = asp
end
end
end
local function ADDnonUDT_OLD(FP)
local nonPOD = get_nonPOD(FP)
get_nonPODused(FP)
--print"nonPOD"
--M.prtable(nonPOD)
local defsT = FP.defsT
@@ -1318,7 +1125,6 @@ local function ADDnonUDT_OLD(FP)
if (not isUDT) and FP.cimgui_inherited and FP.cimgui_inherited.nonPOD[defT.ret] then
isUDT = true
end
--given in generator.lua , could be skipped
for _,udt_ret in ipairs(FP.UDTs) do
if udt_ret == defT.ret then isUDT=true; break end
end
@@ -1482,9 +1288,7 @@ function M.Parser()
par.manuals = {}
par.skipped = {}
par.UDTs = {}
par.genConversors = genConversions
par.gen_structs_c = gen_structs_c
function par:insert(line,loca)
--table.insert(cdefs,{line,loca})
--table.insert(cdefs,{line:gsub("^%s*(.-)%s*$", "%1"),loca})
@@ -1539,9 +1343,8 @@ function M.Parser()
function par:do_parse()
self:parseItems()
self:gen_structs_and_enums_table()
self:compute_overloads()
self:gen_structs_and_enums()
--self:compute_overloads()
self:compute_overloads()
--self:compute_templated()
ADDdestructors(self)
end
@@ -1911,30 +1714,6 @@ function M.Parser()
function par:header_text_insert(tab,txt,it)
table.insert(tab, txt)
end
local function function_parse(self,it)
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
end
end
if it.item:match"^%s*template%s+<" then
local ttype,fun = it.item:match"^%s*template%s+<%s*typename%s+([^>]+)%s*>%s*(.+)$"
if self.ftemplate_list and self.ftemplate_list[ttype] then
for iT,vT in ipairs(self.ftemplate_list[ttype]) do
local funT = fun:gsub("([< %(])"..ttype,"%1"..vT)
--funT = funT:gsub("sizeof%("..ttype.."%)","sizeof("..vT..")")
--local funT = fun:gsub(ttype,vT)
self:parseFunction(stname,{item=funT},namespace,it.locat)
end
end
else
self:parseFunction(stname,it,namespace,it.locat)
end
end
function par:gen_structs_and_enums()
print"--------------gen_structs_and_enums"
--M.prtable(self.typenames)
@@ -2041,15 +1820,13 @@ function M.Parser()
if not structname then print("NO NAME",cleanst,it.item) end
--if not void stname or templated
if structname and not self.typenames[structname] then
--dont add typedef to non POD
local tst = ""
--if not self.nP_used[structname] then
tst = "\ntypedef struct "..structname.." "..structname..";"
--end
if check_unique_typedefs(tst,uniques) then
--table.insert(outtab,tst)
self:header_text_insert(outtab, tst, it)
end
--table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
local tst = "\ntypedef struct "..structname.." "..structname..";"
if check_unique_typedefs(tst,uniques) then
--table.insert(outtab,tst)
self:header_text_insert(outtab, tst, it)
end
self.typedefs_dict[structname]="struct "..structname
--dont insert child structs as they are inserted before parent struct
if not (it.parent and it.parent.re_name == "struct_re") then
@@ -2074,7 +1851,28 @@ function M.Parser()
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
--nop
elseif it.re_name == "functionD_re" or it.re_name == "function_re" then
--function_parse(self,it)
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
end
end
if it.item:match"^%s*template%s+<" then
local ttype,fun = it.item:match"^%s*template%s+<%s*typename%s+([^>]+)%s*>%s*(.+)$"
if self.ftemplate_list and self.ftemplate_list[ttype] then
for iT,vT in ipairs(self.ftemplate_list[ttype]) do
local funT = fun:gsub("([< %(])"..ttype,"%1"..vT)
--funT = funT:gsub("sizeof%("..ttype.."%)","sizeof("..vT..")")
--local funT = fun:gsub(ttype,vT)
self:parseFunction(stname,{item=funT},namespace,it.locat)
end
end
else
self:parseFunction(stname,it,namespace,it.locat)
end
else
if it.re_name~="operator_re" then
print("not processed gen",it.re_name,it.item:sub(1,20))
@@ -2094,10 +1892,7 @@ function M.Parser()
--check arg detection failure if no name in function declaration
check_arg_detection(self.defsT,self.typedefs_dict)
local outtabprest, outtabst = table.concat(outtabpre,""),table.concat(outtab,"")
outtabprest = M.header_subs_nonPOD(self,outtabprest)
outtabst = M.header_subs_nonPOD(self,outtabst)
self.structs_and_enums = {outtabprest, outtabst or ""}
return outtabprest, outtabst
end
-----------
@@ -2291,9 +2086,7 @@ function M.Parser()
end
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
--nop
elseif it.re_name ~= "functionD_re" or it.re_name ~= "function_re" then
function_parse(self,it)
elseif it.re_name ~= "operator_re" then
elseif it.re_name ~= "functionD_re" and it.re_name ~= "function_re" and it.re_name ~= "operator_re" then
print("not processed gen table",it.re_name)
end
end
@@ -2422,9 +2215,9 @@ function M.Parser()
end)
--print(numoverloaded, "overloaded")
table.insert(strt,string.format("%d overloaded",numoverloaded))
ADDnonUDT(self)
--ADDIMSTR_S(self)
AdjustArguments(self)
--ADDnonUDT(self)
ADDnonUDT(self)
--ADDdestructors(self)
self.overloadstxt = table.concat(strt,"\n")
@@ -2890,10 +2683,7 @@ local function ImGui_f_implementation(def)
table.insert(outtab, "#endif\n")
elseif def.nonUDT then
if def.nonUDT == 1 then
--table.insert(outtab," *pOut = "..namespace..def.funcname..def.call_args..";\n")
insert(outtab," return ConvertFromCPP_"..def.conv.."("..namespace..def.funcname..def.call_args..");\n")
elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..def.call_args..");\n")
table.insert(outtab," *pOut = "..namespace..def.funcname..def.call_args..";\n")
end
table.insert(outtab,"}\n")
else --standard ImGui
@@ -2927,11 +2717,7 @@ local function struct_f_implementation(def)
end
elseif def.nonUDT then
if def.nonUDT == 1 then
--table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n")
--local typret = (def.ret):gsub("const ","")
insert(outtab," return ConvertFromCPP_"..def.conv.."(self->"..def.funcname..def.call_args..");\n")
elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..def.call_args..");\n")
table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n")
end
else --standard struct
table.insert(outtab," return "..ptret.."self->"..def.funcname..def.call_args..";\n")
@@ -3007,7 +2793,7 @@ M.table_do_sorted = table_do_sorted
local function func_header_generate_structs(FP)
local outtab = {}--"\n/////func_header_generate_structs\n"}
local outtab = {}
table_do_sorted(FP.embeded_structs,function(k,v)
table.insert(outtab,"typedef "..v.." "..k..";\n")
@@ -3025,7 +2811,6 @@ local function func_header_generate_structs(FP)
end
M.func_header_generate_structs = func_header_generate_structs
local function func_header_generate_funcs(FP)
local outtab = {}
@@ -3054,18 +2839,17 @@ local function func_header_generate_funcs(FP)
elseif def.destructor then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
else --not constructor
--local ret = FP.nP_ret[def.ret] or def.ret
local ret = def.ret
if def.stname == "" or def.is_static_function then --ImGui namespace or top level
table.insert(outtab,"CIMGUI_API "..ret.." ".. def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
table.insert(outtab,"CIMGUI_API "..def.ret.." ".. def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
if def.isvararg then
-- For variadic functions we add a function implementation with zero argumets, for compatibility with languages such as C#.
table.insert(outtab, "#ifdef CIMGUI_VARGS0\n")
table.insert(outtab, "CIMGUI_API".." "..ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args)..";\n")
table.insert(outtab, "CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args)..";\n")
table.insert(outtab, "#endif\n")
end
else
table.insert(outtab,"CIMGUI_API "..ret.." "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
table.insert(outtab,"CIMGUI_API "..def.ret.." "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
end
end
end
@@ -3089,10 +2873,8 @@ local function func_header_generate(FP)
table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
local outtabf = func_header_generate_funcs(FP)
outtabf = table.concat(outtabf)
assert(type(outtabf)=="string")
--outtabf = M.header_subs_nonPOD(FP,outtabf)
local cfuncsstr = table.concat(outtab)..outtabf
local cfuncsstr = table.concat(outtab)..table.concat(outtabf)
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
return cfuncsstr
end

View File

@@ -124,14 +124,10 @@ local function func_header_impl_generate(FP)
local outtab = {}
-- for _,t in ipairs(FP.funcdefs) do
-- if t.cimguiname then
-- local cimf = FP.defsT[t.cimguiname]
-- local def = cimf[t.signature]
--for k,defs in pairs(FP.defsT) do
cpp2ffi.table_do_sorted(FP.defsT, function(i,defs)
if true then
for i, def in ipairs(defs) do
for _,t in ipairs(FP.funcdefs) do
if t.cimguiname then
local cimf = FP.defsT[t.cimguiname]
local def = cimf[t.signature]
local addcoment = def.comment or ""
local empty = def.args:match("^%(%)") --no args
if def.constructor then
@@ -151,11 +147,10 @@ local function func_header_impl_generate(FP)
error("class function in implementations")
end
end
end
else --not cimguiname
table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub
end
end)
end
local cfuncsstr = table.concat(outtab)
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
return cfuncsstr
@@ -276,17 +271,13 @@ local function cimgui_generation(parser)
--]]
--------------------------------------------------
local hstrfile = read_data"./cimgui_template.h"
hstrfile = hstrfile:gsub([[PLACE_STRUCTS_C]],parser:gen_structs_c())
local outpre,outpost = parser.structs_and_enums[1],parser.structs_and_enums[2]
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)
local tdt = parser:generate_templates()
--local cstructsstr = "\n//7777estio es outpre\n"..outpre.."\n///////////////tdt\n"..tdt.."\n////////////////////outpost\n"..outpost
local cstructsstr = outpre..tdt..outpost
if gdefines.IMGUI_HAS_DOCK then
@@ -295,9 +286,6 @@ local function cimgui_generation(parser)
if gdefines.ImDrawCallback_ResetRenderState then
cstructsstr = cstructsstr.."\n#define ImDrawCallback_ResetRenderState "..gdefines.ImDrawCallback_ResetRenderState.."\n"
end
if gdefines.ImTextureID_Invalid then
cstructsstr = cstructsstr.."\n#define ImTextureID_Invalid "..gdefines.ImTextureID_Invalid.."\n"
end
if gdefines.IMGUI_HAS_IMSTR then
if not (NOCHAR or NOIMSTRV) then
cstructsstr = cstructsstr.."\n#define IMGUI_HAS_IMSTR 1\n"
@@ -322,10 +310,7 @@ local function cimgui_generation(parser)
local cimplem = func_implementation(parser)
cimplem = colapse_defines(cimplem, "IMGUI_ENABLE_FREETYPE")
local hstrfile = read_data"./cimgui_template.cpp"
local conversors = parser:genConversors()
cimplem = conversors .. cimplem
hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem)
local ftdef = "" --FREETYPE_GENERATION and "#define IMGUI_ENABLE_FREETYPE\n" or ""
save_data("./output/cimgui.cpp",cimgui_header, ftdef, hstrfile)
@@ -336,7 +321,7 @@ end
--------------------------------------------------------
--get imgui.h version and IMGUI_HAS_DOCK--------------------------
--defines for the cl compiler must be present in the print_defines.cpp file
gdefines = get_defines{"IMGUI_VERSION","IMGUI_VERSION_NUM","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR","ImDrawCallback_ResetRenderState","IMGUI_HAS_TEXTURES","ImTextureID_Invalid"}
gdefines = get_defines{"IMGUI_VERSION","IMGUI_VERSION_NUM","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR","ImDrawCallback_ResetRenderState","IMGUI_HAS_TEXTURES"}
cpp2ffi.prtable(gdefines)
if gdefines.IMGUI_HAS_DOCK then gdefines.IMGUI_HAS_DOCK = true end
if gdefines.IMGUI_HAS_IMSTR then gdefines.IMGUI_HAS_IMSTR = true end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@
"cimguiname": "ImGui_ImplGlfw_CharCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CharCallback",
"location": "imgui_impl_glfw:64",
"location": "imgui_impl_glfw:61",
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
"ret": "void",
"signature": "(GLFWwindow*,unsigned int)",
@@ -42,7 +42,7 @@
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
"location": "imgui_impl_glfw:59",
"location": "imgui_impl_glfw:56",
"ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
"ret": "void",
"signature": "(GLFWwindow*,int)",
@@ -71,7 +71,7 @@
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
"location": "imgui_impl_glfw:60",
"location": "imgui_impl_glfw:57",
"ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
@@ -92,7 +92,7 @@
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"location": "imgui_impl_glfw:70",
"location": "imgui_impl_glfw:67",
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"ret": "float",
"signature": "(GLFWmonitor*)",
@@ -113,7 +113,7 @@
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"location": "imgui_impl_glfw:69",
"location": "imgui_impl_glfw:66",
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"ret": "float",
"signature": "(GLFWwindow*)",
@@ -138,7 +138,7 @@
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
"location": "imgui_impl_glfw:35",
"location": "imgui_impl_glfw:32",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -163,7 +163,7 @@
"cimguiname": "ImGui_ImplGlfw_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOther",
"location": "imgui_impl_glfw:37",
"location": "imgui_impl_glfw:34",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOther",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -188,7 +188,7 @@
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForVulkan",
"location": "imgui_impl_glfw:36",
"location": "imgui_impl_glfw:33",
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -209,7 +209,7 @@
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
"location": "imgui_impl_glfw:50",
"location": "imgui_impl_glfw:47",
"ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
"ret": "void",
"signature": "(GLFWwindow*)",
@@ -246,7 +246,7 @@
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_KeyCallback",
"location": "imgui_impl_glfw:63",
"location": "imgui_impl_glfw:60",
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int,int)",
@@ -271,7 +271,7 @@
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MonitorCallback",
"location": "imgui_impl_glfw:65",
"location": "imgui_impl_glfw:62",
"ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback",
"ret": "void",
"signature": "(GLFWmonitor*,int)",
@@ -304,7 +304,7 @@
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
"location": "imgui_impl_glfw:61",
"location": "imgui_impl_glfw:58",
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int)",
@@ -320,7 +320,7 @@
"cimguiname": "ImGui_ImplGlfw_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplGlfw_NewFrame",
"location": "imgui_impl_glfw:39",
"location": "imgui_impl_glfw:36",
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
"ret": "void",
"signature": "()",
@@ -341,7 +341,7 @@
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
"location": "imgui_impl_glfw:51",
"location": "imgui_impl_glfw:48",
"ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
"ret": "void",
"signature": "(GLFWwindow*)",
@@ -370,7 +370,7 @@
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_ScrollCallback",
"location": "imgui_impl_glfw:62",
"location": "imgui_impl_glfw:59",
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
@@ -391,7 +391,7 @@
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"defaults": {},
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"location": "imgui_impl_glfw:55",
"location": "imgui_impl_glfw:52",
"ov_cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"ret": "void",
"signature": "(bool)",
@@ -407,7 +407,7 @@
"cimguiname": "ImGui_ImplGlfw_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Shutdown",
"location": "imgui_impl_glfw:38",
"location": "imgui_impl_glfw:35",
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
"ret": "void",
"signature": "()",
@@ -428,7 +428,7 @@
"cimguiname": "ImGui_ImplGlfw_Sleep",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Sleep",
"location": "imgui_impl_glfw:68",
"location": "imgui_impl_glfw:65",
"ov_cimguiname": "ImGui_ImplGlfw_Sleep",
"ret": "void",
"signature": "(int)",
@@ -453,7 +453,7 @@
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
"location": "imgui_impl_glfw:58",
"location": "imgui_impl_glfw:55",
"ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
"ret": "void",
"signature": "(GLFWwindow*,int)",
@@ -469,7 +469,7 @@
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"location": "imgui_impl_opengl2:38",
"location": "imgui_impl_opengl2:37",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -485,7 +485,7 @@
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"location": "imgui_impl_opengl2:39",
"location": "imgui_impl_opengl2:38",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -501,7 +501,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Init",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Init",
"location": "imgui_impl_opengl2:32",
"location": "imgui_impl_opengl2:31",
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
"ret": "bool",
"signature": "()",
@@ -517,7 +517,7 @@
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_NewFrame",
"location": "imgui_impl_opengl2:34",
"location": "imgui_impl_opengl2:33",
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"ret": "void",
"signature": "()",
@@ -538,7 +538,7 @@
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
"location": "imgui_impl_opengl2:35",
"location": "imgui_impl_opengl2:34",
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -554,7 +554,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Shutdown",
"location": "imgui_impl_opengl2:33",
"location": "imgui_impl_opengl2:32",
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"ret": "void",
"signature": "()",
@@ -575,7 +575,7 @@
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
"location": "imgui_impl_opengl2:42",
"location": "imgui_impl_opengl2:41",
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",
@@ -591,7 +591,7 @@
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"location": "imgui_impl_opengl3:41",
"location": "imgui_impl_opengl3:40",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -607,7 +607,7 @@
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"location": "imgui_impl_opengl3:42",
"location": "imgui_impl_opengl3:41",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -630,7 +630,7 @@
"glsl_version": "nullptr"
},
"funcname": "ImGui_ImplOpenGL3_Init",
"location": "imgui_impl_opengl3:35",
"location": "imgui_impl_opengl3:34",
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
"ret": "bool",
"signature": "(const char*)",
@@ -646,7 +646,7 @@
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_NewFrame",
"location": "imgui_impl_opengl3:37",
"location": "imgui_impl_opengl3:36",
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"ret": "void",
"signature": "()",
@@ -667,7 +667,7 @@
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
"location": "imgui_impl_opengl3:38",
"location": "imgui_impl_opengl3:37",
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -683,7 +683,7 @@
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_Shutdown",
"location": "imgui_impl_opengl3:36",
"location": "imgui_impl_opengl3:35",
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"ret": "void",
"signature": "()",
@@ -704,7 +704,7 @@
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
"location": "imgui_impl_opengl3:45",
"location": "imgui_impl_opengl3:44",
"ov_cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",
@@ -725,7 +725,7 @@
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"location": "imgui_impl_sdl2:47",
"location": "imgui_impl_sdl2:43",
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"ret": "float",
"signature": "(int)",
@@ -746,7 +746,7 @@
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"location": "imgui_impl_sdl2:46",
"location": "imgui_impl_sdl2:42",
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"ret": "float",
"signature": "(SDL_Window*)",
@@ -767,7 +767,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForD3D",
"location": "imgui_impl_sdl2:37",
"location": "imgui_impl_sdl2:33",
"ov_cimguiname": "ImGui_ImplSDL2_InitForD3D",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -788,7 +788,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForMetal",
"location": "imgui_impl_sdl2:38",
"location": "imgui_impl_sdl2:34",
"ov_cimguiname": "ImGui_ImplSDL2_InitForMetal",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -813,7 +813,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
"location": "imgui_impl_sdl2:35",
"location": "imgui_impl_sdl2:31",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
@@ -834,7 +834,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOther",
"location": "imgui_impl_sdl2:40",
"location": "imgui_impl_sdl2:36",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOther",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -859,7 +859,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
"location": "imgui_impl_sdl2:39",
"location": "imgui_impl_sdl2:35",
"ov_cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
"ret": "bool",
"signature": "(SDL_Window*,SDL_Renderer*)",
@@ -880,7 +880,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForVulkan",
"location": "imgui_impl_sdl2:36",
"location": "imgui_impl_sdl2:32",
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -896,7 +896,7 @@
"cimguiname": "ImGui_ImplSDL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL2_NewFrame",
"location": "imgui_impl_sdl2:42",
"location": "imgui_impl_sdl2:38",
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
"ret": "void",
"signature": "()",
@@ -917,7 +917,7 @@
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL2_ProcessEvent",
"location": "imgui_impl_sdl2:43",
"location": "imgui_impl_sdl2:39",
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
@@ -949,7 +949,7 @@
"manual_gamepads_count": "-1"
},
"funcname": "ImGui_ImplSDL2_SetGamepadMode",
"location": "imgui_impl_sdl2:52",
"location": "imgui_impl_sdl2:48",
"ov_cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
"ret": "void",
"signature": "(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
@@ -965,7 +965,7 @@
"cimguiname": "ImGui_ImplSDL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL2_Shutdown",
"location": "imgui_impl_sdl2:41",
"location": "imgui_impl_sdl2:37",
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
"ret": "void",
"signature": "()",
@@ -986,7 +986,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForD3D",
"location": "imgui_impl_sdl3:36",
"location": "imgui_impl_sdl3:33",
"ov_cimguiname": "ImGui_ImplSDL3_InitForD3D",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1007,7 +1007,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForMetal",
"location": "imgui_impl_sdl3:37",
"location": "imgui_impl_sdl3:34",
"ov_cimguiname": "ImGui_ImplSDL3_InitForMetal",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1032,7 +1032,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
"location": "imgui_impl_sdl3:34",
"location": "imgui_impl_sdl3:31",
"ov_cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
@@ -1053,7 +1053,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOther",
"location": "imgui_impl_sdl3:40",
"location": "imgui_impl_sdl3:37",
"ov_cimguiname": "ImGui_ImplSDL3_InitForOther",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1074,7 +1074,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
"location": "imgui_impl_sdl3:39",
"location": "imgui_impl_sdl3:36",
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1099,7 +1099,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
"location": "imgui_impl_sdl3:38",
"location": "imgui_impl_sdl3:35",
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
"ret": "bool",
"signature": "(SDL_Window*,SDL_Renderer*)",
@@ -1120,7 +1120,7 @@
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForVulkan",
"location": "imgui_impl_sdl3:35",
"location": "imgui_impl_sdl3:32",
"ov_cimguiname": "ImGui_ImplSDL3_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1136,7 +1136,7 @@
"cimguiname": "ImGui_ImplSDL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL3_NewFrame",
"location": "imgui_impl_sdl3:42",
"location": "imgui_impl_sdl3:39",
"ov_cimguiname": "ImGui_ImplSDL3_NewFrame",
"ret": "void",
"signature": "()",
@@ -1157,7 +1157,7 @@
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL3_ProcessEvent",
"location": "imgui_impl_sdl3:43",
"location": "imgui_impl_sdl3:40",
"ov_cimguiname": "ImGui_ImplSDL3_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
@@ -1189,7 +1189,7 @@
"manual_gamepads_count": "-1"
},
"funcname": "ImGui_ImplSDL3_SetGamepadMode",
"location": "imgui_impl_sdl3:48",
"location": "imgui_impl_sdl3:45",
"ov_cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
"ret": "void",
"signature": "(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
@@ -1205,7 +1205,7 @@
"cimguiname": "ImGui_ImplSDL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL3_Shutdown",
"location": "imgui_impl_sdl3:41",
"location": "imgui_impl_sdl3:38",
"ov_cimguiname": "ImGui_ImplSDL3_Shutdown",
"ret": "void",
"signature": "()",
@@ -1214,7 +1214,7 @@
],
"ImGui_ImplVulkanH_CreateOrResizeWindow": [
{
"args": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage)",
"args": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
"argsT": [
{
"name": "instance",
@@ -1229,7 +1229,7 @@
"type": "VkDevice"
},
{
"name": "wd",
"name": "wnd",
"type": "ImGui_ImplVulkanH_Window*"
},
{
@@ -1251,27 +1251,23 @@
{
"name": "min_image_count",
"type": "uint32_t"
},
{
"name": "image_usage",
"type": "VkImageUsageFlags"
}
],
"argsoriginal": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage)",
"call_args": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
"argsoriginal": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
"call_args": "(instance,physical_device,device,wnd,queue_family,allocator,w,h,min_image_count)",
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"location": "imgui_impl_vulkan:193",
"location": "imgui_impl_vulkan:166",
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"ret": "void",
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)",
"stname": ""
}
],
"ImGui_ImplVulkanH_DestroyWindow": [
{
"args": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
"args": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
"argsT": [
{
"name": "instance",
@@ -1282,7 +1278,7 @@
"type": "VkDevice"
},
{
"name": "wd",
"name": "wnd",
"type": "ImGui_ImplVulkanH_Window*"
},
{
@@ -1290,12 +1286,12 @@
"type": "const VkAllocationCallbacks*"
}
],
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
"call_args": "(instance,device,wd,allocator)",
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
"call_args": "(instance,device,wnd,allocator)",
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
"location": "imgui_impl_vulkan:194",
"location": "imgui_impl_vulkan:167",
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"ret": "void",
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1316,34 +1312,13 @@
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"location": "imgui_impl_vulkan:199",
"location": "imgui_impl_vulkan:172",
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"ret": "int",
"signature": "(VkPresentModeKHR)",
"stname": ""
}
],
"ImGui_ImplVulkanH_GetWindowDataFromViewport": [
{
"args": "(ImGuiViewport* viewport)",
"argsT": [
{
"name": "viewport",
"type": "ImGuiViewport*"
}
],
"argsoriginal": "(ImGuiViewport* viewport)",
"call_args": "(viewport)",
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"location": "imgui_impl_vulkan:200",
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"ret": "ImGui_ImplVulkanH_Window*",
"signature": "(ImGuiViewport*)",
"stname": ""
}
],
"ImGui_ImplVulkanH_SelectPhysicalDevice": [
{
"args": "(VkInstance instance)",
@@ -1358,7 +1333,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"location": "imgui_impl_vulkan:197",
"location": "imgui_impl_vulkan:170",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"ret": "VkPhysicalDevice",
"signature": "(VkInstance)",
@@ -1391,7 +1366,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
"location": "imgui_impl_vulkan:196",
"location": "imgui_impl_vulkan:169",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"ret": "VkPresentModeKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1412,7 +1387,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"location": "imgui_impl_vulkan:198",
"location": "imgui_impl_vulkan:171",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"ret": "uint32_t",
"signature": "(VkPhysicalDevice)",
@@ -1449,7 +1424,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"location": "imgui_impl_vulkan:195",
"location": "imgui_impl_vulkan:168",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"ret": "VkSurfaceFormatKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1466,7 +1441,7 @@
"constructor": true,
"defaults": {},
"funcname": "ImGui_ImplVulkanH_Window",
"location": "imgui_impl_vulkan:242",
"location": "imgui_impl_vulkan:215",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"signature": "()",
"stname": "ImGui_ImplVulkanH_Window"
@@ -1485,7 +1460,7 @@
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"defaults": {},
"destructor": true,
"location": "imgui_impl_vulkan:242",
"location": "imgui_impl_vulkan:215",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"ret": "void",
"signature": "(ImGui_ImplVulkanH_Window*)",
@@ -1514,34 +1489,13 @@
"cimguiname": "ImGui_ImplVulkan_AddTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_AddTexture",
"location": "imgui_impl_vulkan:150",
"location": "imgui_impl_vulkan:123",
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
"ret": "VkDescriptorSet",
"signature": "(VkSampler,VkImageView,VkImageLayout)",
"stname": ""
}
],
"ImGui_ImplVulkan_CreateMainPipeline": [
{
"args": "(const ImGui_ImplVulkan_PipelineInfo* info)",
"argsT": [
{
"name": "info",
"type": "const ImGui_ImplVulkan_PipelineInfo*"
}
],
"argsoriginal": "(const ImGui_ImplVulkan_PipelineInfo* info)",
"call_args": "(info)",
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"defaults": {},
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
"location": "imgui_impl_vulkan:142",
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"ret": "void",
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
"stname": ""
}
],
"ImGui_ImplVulkan_Init": [
{
"args": "(ImGui_ImplVulkan_InitInfo* info)",
@@ -1556,7 +1510,7 @@
"cimguiname": "ImGui_ImplVulkan_Init",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Init",
"location": "imgui_impl_vulkan:133",
"location": "imgui_impl_vulkan:111",
"ov_cimguiname": "ImGui_ImplVulkan_Init",
"ret": "bool",
"signature": "(ImGui_ImplVulkan_InitInfo*)",
@@ -1587,7 +1541,7 @@
"user_data": "nullptr"
},
"funcname": "ImGui_ImplVulkan_LoadFunctions",
"location": "imgui_impl_vulkan:155",
"location": "imgui_impl_vulkan:128",
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"ret": "bool",
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1603,7 +1557,7 @@
"cimguiname": "ImGui_ImplVulkan_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplVulkan_NewFrame",
"location": "imgui_impl_vulkan:135",
"location": "imgui_impl_vulkan:113",
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
"ret": "void",
"signature": "()",
@@ -1624,7 +1578,7 @@
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_RemoveTexture",
"location": "imgui_impl_vulkan:151",
"location": "imgui_impl_vulkan:124",
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"ret": "void",
"signature": "(VkDescriptorSet)",
@@ -1655,7 +1609,7 @@
"pipeline": "0ULL"
},
"funcname": "ImGui_ImplVulkan_RenderDrawData",
"location": "imgui_impl_vulkan:136",
"location": "imgui_impl_vulkan:114",
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1676,7 +1630,7 @@
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"defaults": {},
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
"location": "imgui_impl_vulkan:137",
"location": "imgui_impl_vulkan:115",
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"ret": "void",
"signature": "(uint32_t)",
@@ -1692,7 +1646,7 @@
"cimguiname": "ImGui_ImplVulkan_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Shutdown",
"location": "imgui_impl_vulkan:134",
"location": "imgui_impl_vulkan:112",
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
"ret": "void",
"signature": "()",
@@ -1713,7 +1667,7 @@
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_UpdateTexture",
"location": "imgui_impl_vulkan:145",
"location": "imgui_impl_vulkan:118",
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",

View File

@@ -14,7 +14,7 @@ local t={
cimguiname="ImGui_ImplGlfw_CharCallback",
defaults={},
funcname="ImGui_ImplGlfw_CharCallback",
location="imgui_impl_glfw:64",
location="imgui_impl_glfw:61",
ov_cimguiname="ImGui_ImplGlfw_CharCallback",
ret="void",
signature="(GLFWwindow*,unsigned int)",
@@ -35,7 +35,7 @@ local t={
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorEnterCallback",
location="imgui_impl_glfw:59",
location="imgui_impl_glfw:56",
ov_cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
ret="void",
signature="(GLFWwindow*,int)",
@@ -59,7 +59,7 @@ local t={
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorPosCallback",
location="imgui_impl_glfw:60",
location="imgui_impl_glfw:57",
ov_cimguiname="ImGui_ImplGlfw_CursorPosCallback",
ret="void",
signature="(GLFWwindow*,double,double)",
@@ -77,7 +77,7 @@ local t={
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
location="imgui_impl_glfw:70",
location="imgui_impl_glfw:67",
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
ret="float",
signature="(GLFWmonitor*)",
@@ -95,7 +95,7 @@ local t={
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
location="imgui_impl_glfw:69",
location="imgui_impl_glfw:66",
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
ret="float",
signature="(GLFWwindow*)",
@@ -116,7 +116,7 @@ local t={
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
defaults={},
funcname="ImGui_ImplGlfw_InitForOpenGL",
location="imgui_impl_glfw:35",
location="imgui_impl_glfw:32",
ov_cimguiname="ImGui_ImplGlfw_InitForOpenGL",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -137,7 +137,7 @@ local t={
cimguiname="ImGui_ImplGlfw_InitForOther",
defaults={},
funcname="ImGui_ImplGlfw_InitForOther",
location="imgui_impl_glfw:37",
location="imgui_impl_glfw:34",
ov_cimguiname="ImGui_ImplGlfw_InitForOther",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -158,7 +158,7 @@ local t={
cimguiname="ImGui_ImplGlfw_InitForVulkan",
defaults={},
funcname="ImGui_ImplGlfw_InitForVulkan",
location="imgui_impl_glfw:36",
location="imgui_impl_glfw:33",
ov_cimguiname="ImGui_ImplGlfw_InitForVulkan",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -176,7 +176,7 @@ local t={
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_InstallCallbacks",
location="imgui_impl_glfw:50",
location="imgui_impl_glfw:47",
ov_cimguiname="ImGui_ImplGlfw_InstallCallbacks",
ret="void",
signature="(GLFWwindow*)",
@@ -206,7 +206,7 @@ local t={
cimguiname="ImGui_ImplGlfw_KeyCallback",
defaults={},
funcname="ImGui_ImplGlfw_KeyCallback",
location="imgui_impl_glfw:63",
location="imgui_impl_glfw:60",
ov_cimguiname="ImGui_ImplGlfw_KeyCallback",
ret="void",
signature="(GLFWwindow*,int,int,int,int)",
@@ -227,7 +227,7 @@ local t={
cimguiname="ImGui_ImplGlfw_MonitorCallback",
defaults={},
funcname="ImGui_ImplGlfw_MonitorCallback",
location="imgui_impl_glfw:65",
location="imgui_impl_glfw:62",
ov_cimguiname="ImGui_ImplGlfw_MonitorCallback",
ret="void",
signature="(GLFWmonitor*,int)",
@@ -254,7 +254,7 @@ local t={
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
defaults={},
funcname="ImGui_ImplGlfw_MouseButtonCallback",
location="imgui_impl_glfw:61",
location="imgui_impl_glfw:58",
ov_cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
ret="void",
signature="(GLFWwindow*,int,int,int)",
@@ -269,7 +269,7 @@ local t={
cimguiname="ImGui_ImplGlfw_NewFrame",
defaults={},
funcname="ImGui_ImplGlfw_NewFrame",
location="imgui_impl_glfw:39",
location="imgui_impl_glfw:36",
ov_cimguiname="ImGui_ImplGlfw_NewFrame",
ret="void",
signature="()",
@@ -287,7 +287,7 @@ local t={
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_RestoreCallbacks",
location="imgui_impl_glfw:51",
location="imgui_impl_glfw:48",
ov_cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
ret="void",
signature="(GLFWwindow*)",
@@ -311,7 +311,7 @@ local t={
cimguiname="ImGui_ImplGlfw_ScrollCallback",
defaults={},
funcname="ImGui_ImplGlfw_ScrollCallback",
location="imgui_impl_glfw:62",
location="imgui_impl_glfw:59",
ov_cimguiname="ImGui_ImplGlfw_ScrollCallback",
ret="void",
signature="(GLFWwindow*,double,double)",
@@ -329,7 +329,7 @@ local t={
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
defaults={},
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
location="imgui_impl_glfw:55",
location="imgui_impl_glfw:52",
ov_cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
ret="void",
signature="(bool)",
@@ -344,7 +344,7 @@ local t={
cimguiname="ImGui_ImplGlfw_Shutdown",
defaults={},
funcname="ImGui_ImplGlfw_Shutdown",
location="imgui_impl_glfw:38",
location="imgui_impl_glfw:35",
ov_cimguiname="ImGui_ImplGlfw_Shutdown",
ret="void",
signature="()",
@@ -362,7 +362,7 @@ local t={
cimguiname="ImGui_ImplGlfw_Sleep",
defaults={},
funcname="ImGui_ImplGlfw_Sleep",
location="imgui_impl_glfw:68",
location="imgui_impl_glfw:65",
ov_cimguiname="ImGui_ImplGlfw_Sleep",
ret="void",
signature="(int)",
@@ -383,7 +383,7 @@ local t={
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
defaults={},
funcname="ImGui_ImplGlfw_WindowFocusCallback",
location="imgui_impl_glfw:58",
location="imgui_impl_glfw:55",
ov_cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
ret="void",
signature="(GLFWwindow*,int)",
@@ -398,7 +398,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
location="imgui_impl_opengl2:38",
location="imgui_impl_opengl2:37",
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
ret="bool",
signature="()",
@@ -413,7 +413,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
location="imgui_impl_opengl2:39",
location="imgui_impl_opengl2:38",
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
ret="void",
signature="()",
@@ -428,7 +428,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_Init",
defaults={},
funcname="ImGui_ImplOpenGL2_Init",
location="imgui_impl_opengl2:32",
location="imgui_impl_opengl2:31",
ov_cimguiname="ImGui_ImplOpenGL2_Init",
ret="bool",
signature="()",
@@ -443,7 +443,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL2_NewFrame",
location="imgui_impl_opengl2:34",
location="imgui_impl_opengl2:33",
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
ret="void",
signature="()",
@@ -461,7 +461,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL2_RenderDrawData",
location="imgui_impl_opengl2:35",
location="imgui_impl_opengl2:34",
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
ret="void",
signature="(ImDrawData*)",
@@ -476,7 +476,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL2_Shutdown",
location="imgui_impl_opengl2:33",
location="imgui_impl_opengl2:32",
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
ret="void",
signature="()",
@@ -494,7 +494,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL2_UpdateTexture",
location="imgui_impl_opengl2:42",
location="imgui_impl_opengl2:41",
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -509,7 +509,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
location="imgui_impl_opengl3:41",
location="imgui_impl_opengl3:40",
ov_cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
ret="bool",
signature="()",
@@ -524,7 +524,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
location="imgui_impl_opengl3:42",
location="imgui_impl_opengl3:41",
ov_cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
ret="void",
signature="()",
@@ -543,7 +543,7 @@ local t={
defaults={
glsl_version="nullptr"},
funcname="ImGui_ImplOpenGL3_Init",
location="imgui_impl_opengl3:35",
location="imgui_impl_opengl3:34",
ov_cimguiname="ImGui_ImplOpenGL3_Init",
ret="bool",
signature="(const char*)",
@@ -558,7 +558,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL3_NewFrame",
location="imgui_impl_opengl3:37",
location="imgui_impl_opengl3:36",
ov_cimguiname="ImGui_ImplOpenGL3_NewFrame",
ret="void",
signature="()",
@@ -576,7 +576,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL3_RenderDrawData",
location="imgui_impl_opengl3:38",
location="imgui_impl_opengl3:37",
ov_cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
ret="void",
signature="(ImDrawData*)",
@@ -591,7 +591,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL3_Shutdown",
location="imgui_impl_opengl3:36",
location="imgui_impl_opengl3:35",
ov_cimguiname="ImGui_ImplOpenGL3_Shutdown",
ret="void",
signature="()",
@@ -609,7 +609,7 @@ local t={
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL3_UpdateTexture",
location="imgui_impl_opengl3:45",
location="imgui_impl_opengl3:44",
ov_cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -627,7 +627,7 @@ local t={
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
location="imgui_impl_sdl2:47",
location="imgui_impl_sdl2:43",
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
ret="float",
signature="(int)",
@@ -645,7 +645,7 @@ local t={
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
location="imgui_impl_sdl2:46",
location="imgui_impl_sdl2:42",
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
ret="float",
signature="(SDL_Window*)",
@@ -663,7 +663,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL2_InitForD3D",
location="imgui_impl_sdl2:37",
location="imgui_impl_sdl2:33",
ov_cimguiname="ImGui_ImplSDL2_InitForD3D",
ret="bool",
signature="(SDL_Window*)",
@@ -681,7 +681,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL2_InitForMetal",
location="imgui_impl_sdl2:38",
location="imgui_impl_sdl2:34",
ov_cimguiname="ImGui_ImplSDL2_InitForMetal",
ret="bool",
signature="(SDL_Window*)",
@@ -702,7 +702,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL2_InitForOpenGL",
location="imgui_impl_sdl2:35",
location="imgui_impl_sdl2:31",
ov_cimguiname="ImGui_ImplSDL2_InitForOpenGL",
ret="bool",
signature="(SDL_Window*,void*)",
@@ -720,7 +720,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForOther",
defaults={},
funcname="ImGui_ImplSDL2_InitForOther",
location="imgui_impl_sdl2:40",
location="imgui_impl_sdl2:36",
ov_cimguiname="ImGui_ImplSDL2_InitForOther",
ret="bool",
signature="(SDL_Window*)",
@@ -741,7 +741,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
location="imgui_impl_sdl2:39",
location="imgui_impl_sdl2:35",
ov_cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
ret="bool",
signature="(SDL_Window*,SDL_Renderer*)",
@@ -759,7 +759,7 @@ local t={
cimguiname="ImGui_ImplSDL2_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL2_InitForVulkan",
location="imgui_impl_sdl2:36",
location="imgui_impl_sdl2:32",
ov_cimguiname="ImGui_ImplSDL2_InitForVulkan",
ret="bool",
signature="(SDL_Window*)",
@@ -774,7 +774,7 @@ local t={
cimguiname="ImGui_ImplSDL2_NewFrame",
defaults={},
funcname="ImGui_ImplSDL2_NewFrame",
location="imgui_impl_sdl2:42",
location="imgui_impl_sdl2:38",
ov_cimguiname="ImGui_ImplSDL2_NewFrame",
ret="void",
signature="()",
@@ -792,7 +792,7 @@ local t={
cimguiname="ImGui_ImplSDL2_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL2_ProcessEvent",
location="imgui_impl_sdl2:43",
location="imgui_impl_sdl2:39",
ov_cimguiname="ImGui_ImplSDL2_ProcessEvent",
ret="bool",
signature="(const SDL_Event*)",
@@ -818,7 +818,7 @@ local t={
manual_gamepads_array="nullptr",
manual_gamepads_count="-1"},
funcname="ImGui_ImplSDL2_SetGamepadMode",
location="imgui_impl_sdl2:52",
location="imgui_impl_sdl2:48",
ov_cimguiname="ImGui_ImplSDL2_SetGamepadMode",
ret="void",
signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
@@ -833,7 +833,7 @@ local t={
cimguiname="ImGui_ImplSDL2_Shutdown",
defaults={},
funcname="ImGui_ImplSDL2_Shutdown",
location="imgui_impl_sdl2:41",
location="imgui_impl_sdl2:37",
ov_cimguiname="ImGui_ImplSDL2_Shutdown",
ret="void",
signature="()",
@@ -851,7 +851,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL3_InitForD3D",
location="imgui_impl_sdl3:36",
location="imgui_impl_sdl3:33",
ov_cimguiname="ImGui_ImplSDL3_InitForD3D",
ret="bool",
signature="(SDL_Window*)",
@@ -869,7 +869,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL3_InitForMetal",
location="imgui_impl_sdl3:37",
location="imgui_impl_sdl3:34",
ov_cimguiname="ImGui_ImplSDL3_InitForMetal",
ret="bool",
signature="(SDL_Window*)",
@@ -890,7 +890,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL3_InitForOpenGL",
location="imgui_impl_sdl3:34",
location="imgui_impl_sdl3:31",
ov_cimguiname="ImGui_ImplSDL3_InitForOpenGL",
ret="bool",
signature="(SDL_Window*,void*)",
@@ -908,7 +908,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForOther",
defaults={},
funcname="ImGui_ImplSDL3_InitForOther",
location="imgui_impl_sdl3:40",
location="imgui_impl_sdl3:37",
ov_cimguiname="ImGui_ImplSDL3_InitForOther",
ret="bool",
signature="(SDL_Window*)",
@@ -926,7 +926,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLGPU",
location="imgui_impl_sdl3:39",
location="imgui_impl_sdl3:36",
ov_cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
ret="bool",
signature="(SDL_Window*)",
@@ -947,7 +947,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
location="imgui_impl_sdl3:38",
location="imgui_impl_sdl3:35",
ov_cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
ret="bool",
signature="(SDL_Window*,SDL_Renderer*)",
@@ -965,7 +965,7 @@ local t={
cimguiname="ImGui_ImplSDL3_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL3_InitForVulkan",
location="imgui_impl_sdl3:35",
location="imgui_impl_sdl3:32",
ov_cimguiname="ImGui_ImplSDL3_InitForVulkan",
ret="bool",
signature="(SDL_Window*)",
@@ -980,7 +980,7 @@ local t={
cimguiname="ImGui_ImplSDL3_NewFrame",
defaults={},
funcname="ImGui_ImplSDL3_NewFrame",
location="imgui_impl_sdl3:42",
location="imgui_impl_sdl3:39",
ov_cimguiname="ImGui_ImplSDL3_NewFrame",
ret="void",
signature="()",
@@ -998,7 +998,7 @@ local t={
cimguiname="ImGui_ImplSDL3_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL3_ProcessEvent",
location="imgui_impl_sdl3:43",
location="imgui_impl_sdl3:40",
ov_cimguiname="ImGui_ImplSDL3_ProcessEvent",
ret="bool",
signature="(const SDL_Event*)",
@@ -1024,7 +1024,7 @@ local t={
manual_gamepads_array="nullptr",
manual_gamepads_count="-1"},
funcname="ImGui_ImplSDL3_SetGamepadMode",
location="imgui_impl_sdl3:48",
location="imgui_impl_sdl3:45",
ov_cimguiname="ImGui_ImplSDL3_SetGamepadMode",
ret="void",
signature="(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
@@ -1039,7 +1039,7 @@ local t={
cimguiname="ImGui_ImplSDL3_Shutdown",
defaults={},
funcname="ImGui_ImplSDL3_Shutdown",
location="imgui_impl_sdl3:41",
location="imgui_impl_sdl3:38",
ov_cimguiname="ImGui_ImplSDL3_Shutdown",
ret="void",
signature="()",
@@ -1047,7 +1047,7 @@ local t={
["()"]=nil},
ImGui_ImplVulkanH_CreateOrResizeWindow={
[1]={
args="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage)",
args="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
argsT={
[1]={
name="instance",
@@ -1059,7 +1059,7 @@ local t={
name="device",
type="VkDevice"},
[4]={
name="wd",
name="wnd",
type="ImGui_ImplVulkanH_Window*"},
[5]={
name="queue_family",
@@ -1075,24 +1075,21 @@ local t={
type="int"},
[9]={
name="min_image_count",
type="uint32_t"},
[10]={
name="image_usage",
type="VkImageUsageFlags"}},
argsoriginal="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage)",
call_args="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
type="uint32_t"}},
argsoriginal="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
call_args="(instance,physical_device,device,wnd,queue_family,allocator,w,h,min_image_count)",
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
defaults={},
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
location="imgui_impl_vulkan:193",
location="imgui_impl_vulkan:166",
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
ret="void",
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)",
stname=""},
["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)"]=nil},
["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)"]=nil},
ImGui_ImplVulkanH_DestroyWindow={
[1]={
args="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
args="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
argsT={
[1]={
name="instance",
@@ -1101,17 +1098,17 @@ local t={
name="device",
type="VkDevice"},
[3]={
name="wd",
name="wnd",
type="ImGui_ImplVulkanH_Window*"},
[4]={
name="allocator",
type="const VkAllocationCallbacks*"}},
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
call_args="(instance,device,wd,allocator)",
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
call_args="(instance,device,wnd,allocator)",
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
defaults={},
funcname="ImGui_ImplVulkanH_DestroyWindow",
location="imgui_impl_vulkan:194",
location="imgui_impl_vulkan:167",
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
ret="void",
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1129,30 +1126,12 @@ local t={
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
location="imgui_impl_vulkan:199",
location="imgui_impl_vulkan:172",
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
ret="int",
signature="(VkPresentModeKHR)",
stname=""},
["(VkPresentModeKHR)"]=nil},
ImGui_ImplVulkanH_GetWindowDataFromViewport={
[1]={
args="(ImGuiViewport* viewport)",
argsT={
[1]={
name="viewport",
type="ImGuiViewport*"}},
argsoriginal="(ImGuiViewport* viewport)",
call_args="(viewport)",
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
defaults={},
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
location="imgui_impl_vulkan:200",
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
ret="ImGui_ImplVulkanH_Window*",
signature="(ImGuiViewport*)",
stname=""},
["(ImGuiViewport*)"]=nil},
ImGui_ImplVulkanH_SelectPhysicalDevice={
[1]={
args="(VkInstance instance)",
@@ -1165,7 +1144,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
location="imgui_impl_vulkan:197",
location="imgui_impl_vulkan:170",
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
ret="VkPhysicalDevice",
signature="(VkInstance)",
@@ -1192,7 +1171,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPresentMode",
location="imgui_impl_vulkan:196",
location="imgui_impl_vulkan:169",
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
ret="VkPresentModeKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1210,7 +1189,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
defaults={},
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
location="imgui_impl_vulkan:198",
location="imgui_impl_vulkan:171",
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
ret="uint32_t",
signature="(VkPhysicalDevice)",
@@ -1240,7 +1219,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
defaults={},
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
location="imgui_impl_vulkan:195",
location="imgui_impl_vulkan:168",
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
ret="VkSurfaceFormatKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1256,7 +1235,7 @@ local t={
constructor=true,
defaults={},
funcname="ImGui_ImplVulkanH_Window",
location="imgui_impl_vulkan:242",
location="imgui_impl_vulkan:215",
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
signature="()",
stname="ImGui_ImplVulkanH_Window"},
@@ -1272,7 +1251,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_Window_destroy",
defaults={},
destructor=true,
location="imgui_impl_vulkan:242",
location="imgui_impl_vulkan:215",
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
ret="void",
signature="(ImGui_ImplVulkanH_Window*)",
@@ -1296,30 +1275,12 @@ local t={
cimguiname="ImGui_ImplVulkan_AddTexture",
defaults={},
funcname="ImGui_ImplVulkan_AddTexture",
location="imgui_impl_vulkan:150",
location="imgui_impl_vulkan:123",
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
ret="VkDescriptorSet",
signature="(VkSampler,VkImageView,VkImageLayout)",
stname=""},
["(VkSampler,VkImageView,VkImageLayout)"]=nil},
ImGui_ImplVulkan_CreateMainPipeline={
[1]={
args="(const ImGui_ImplVulkan_PipelineInfo* info)",
argsT={
[1]={
name="info",
type="const ImGui_ImplVulkan_PipelineInfo*"}},
argsoriginal="(const ImGui_ImplVulkan_PipelineInfo* info)",
call_args="(info)",
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
defaults={},
funcname="ImGui_ImplVulkan_CreateMainPipeline",
location="imgui_impl_vulkan:142",
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
ret="void",
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
stname=""},
["(const ImGui_ImplVulkan_PipelineInfo*)"]=nil},
ImGui_ImplVulkan_Init={
[1]={
args="(ImGui_ImplVulkan_InitInfo* info)",
@@ -1332,7 +1293,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Init",
defaults={},
funcname="ImGui_ImplVulkan_Init",
location="imgui_impl_vulkan:133",
location="imgui_impl_vulkan:111",
ov_cimguiname="ImGui_ImplVulkan_Init",
ret="bool",
signature="(ImGui_ImplVulkan_InitInfo*)",
@@ -1357,7 +1318,7 @@ local t={
defaults={
user_data="nullptr"},
funcname="ImGui_ImplVulkan_LoadFunctions",
location="imgui_impl_vulkan:155",
location="imgui_impl_vulkan:128",
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
ret="bool",
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1372,7 +1333,7 @@ local t={
cimguiname="ImGui_ImplVulkan_NewFrame",
defaults={},
funcname="ImGui_ImplVulkan_NewFrame",
location="imgui_impl_vulkan:135",
location="imgui_impl_vulkan:113",
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
ret="void",
signature="()",
@@ -1390,7 +1351,7 @@ local t={
cimguiname="ImGui_ImplVulkan_RemoveTexture",
defaults={},
funcname="ImGui_ImplVulkan_RemoveTexture",
location="imgui_impl_vulkan:151",
location="imgui_impl_vulkan:124",
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
ret="void",
signature="(VkDescriptorSet)",
@@ -1415,7 +1376,7 @@ local t={
defaults={
pipeline="0ULL"},
funcname="ImGui_ImplVulkan_RenderDrawData",
location="imgui_impl_vulkan:136",
location="imgui_impl_vulkan:114",
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
ret="void",
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1433,7 +1394,7 @@ local t={
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
defaults={},
funcname="ImGui_ImplVulkan_SetMinImageCount",
location="imgui_impl_vulkan:137",
location="imgui_impl_vulkan:115",
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
ret="void",
signature="(uint32_t)",
@@ -1448,7 +1409,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Shutdown",
defaults={},
funcname="ImGui_ImplVulkan_Shutdown",
location="imgui_impl_vulkan:134",
location="imgui_impl_vulkan:112",
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
ret="void",
signature="()",
@@ -1466,7 +1427,7 @@ local t={
cimguiname="ImGui_ImplVulkan_UpdateTexture",
defaults={},
funcname="ImGui_ImplVulkan_UpdateTexture",
location="imgui_impl_vulkan:145",
location="imgui_impl_vulkan:118",
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -1528,10 +1489,9 @@ t.ImGui_ImplSDL3_NewFrame["()"]=t.ImGui_ImplSDL3_NewFrame[1]
t.ImGui_ImplSDL3_ProcessEvent["(const SDL_Event*)"]=t.ImGui_ImplSDL3_ProcessEvent[1]
t.ImGui_ImplSDL3_SetGamepadMode["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"]=t.ImGui_ImplSDL3_SetGamepadMode[1]
t.ImGui_ImplSDL3_Shutdown["()"]=t.ImGui_ImplSDL3_Shutdown[1]
t.ImGui_ImplVulkanH_CreateOrResizeWindow["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)"]=t.ImGui_ImplVulkanH_CreateOrResizeWindow[1]
t.ImGui_ImplVulkanH_CreateOrResizeWindow["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)"]=t.ImGui_ImplVulkanH_CreateOrResizeWindow[1]
t.ImGui_ImplVulkanH_DestroyWindow["(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)"]=t.ImGui_ImplVulkanH_DestroyWindow[1]
t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode["(VkPresentModeKHR)"]=t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode[1]
t.ImGui_ImplVulkanH_GetWindowDataFromViewport["(ImGuiViewport*)"]=t.ImGui_ImplVulkanH_GetWindowDataFromViewport[1]
t.ImGui_ImplVulkanH_SelectPhysicalDevice["(VkInstance)"]=t.ImGui_ImplVulkanH_SelectPhysicalDevice[1]
t.ImGui_ImplVulkanH_SelectPresentMode["(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)"]=t.ImGui_ImplVulkanH_SelectPresentMode[1]
t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVulkanH_SelectQueueFamilyIndex[1]
@@ -1539,7 +1499,6 @@ t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const Vk
t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window["()"]=t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window[1]
t.ImGui_ImplVulkanH_Window_destroy["(ImGui_ImplVulkanH_Window*)"]=t.ImGui_ImplVulkanH_Window_destroy[1]
t.ImGui_ImplVulkan_AddTexture["(VkSampler,VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1]
t.ImGui_ImplVulkan_CreateMainPipeline["(const ImGui_ImplVulkan_PipelineInfo*)"]=t.ImGui_ImplVulkan_CreateMainPipeline[1]
t.ImGui_ImplVulkan_Init["(ImGui_ImplVulkan_InitInfo*)"]=t.ImGui_ImplVulkan_Init[1]
t.ImGui_ImplVulkan_LoadFunctions["(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)"]=t.ImGui_ImplVulkan_LoadFunctions[1]
t.ImGui_ImplVulkan_NewFrame["()"]=t.ImGui_ImplVulkan_NewFrame[1]

View File

@@ -114,13 +114,17 @@ igCombo 3
1 bool igCombo_Str_arr (const char*,int*,const char* const[],int,int)
2 bool igCombo_Str (const char*,int*,const char*,int)
3 bool igCombo_FnStrPtr (const char*,int*,const char*(*)(void*,int),void*,int,int)
igGetBackgroundDrawList 2
1 ImDrawList* igGetBackgroundDrawList_Nil ()
2 ImDrawList* igGetBackgroundDrawList_ViewportPtr (ImGuiViewport*)
igGetColorU32 3
1 ImU32 igGetColorU32_Col (ImGuiCol,float)
2 ImU32 igGetColorU32_Vec4 (const ImVec4)
3 ImU32 igGetColorU32_U32 (ImU32,float)
igGetForegroundDrawList 2
1 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
igGetForegroundDrawList 3
1 ImDrawList* igGetForegroundDrawList_Nil ()
2 ImDrawList* igGetForegroundDrawList_WindowPtr (ImGuiWindow*)
3 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
igGetID 4
1 ImGuiID igGetID_Str (const char*)
2 ImGuiID igGetID_StrStr (const char*,const char*)
@@ -305,4 +309,4 @@ igValue 4
2 void igValue_Int (const char*,int)
3 void igValue_Uint (const char*,unsigned int)
4 void igValue_Float (const char*,float,const char*)
213 overloaded
216 overloaded

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,6 @@
"ImDrawListFlags": "int",
"ImDrawListSharedData": "struct ImDrawListSharedData",
"ImDrawListSplitter": "struct ImDrawListSplitter",
"ImDrawTextFlags": "int",
"ImDrawVert": "struct ImDrawVert",
"ImFileHandle": "FILE*",
"ImFont": "struct ImFont",
@@ -48,7 +47,6 @@
"ImGuiContext": "struct ImGuiContext",
"ImGuiContextHook": "struct ImGuiContextHook",
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
"ImGuiDataAuthority": "int",
"ImGuiDataType": "int",
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
@@ -56,11 +54,6 @@
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
"ImGuiDebugLogFlags": "int",
"ImGuiDockContext": "struct ImGuiDockContext",
"ImGuiDockNode": "struct ImGuiDockNode",
"ImGuiDockNodeFlags": "int",
"ImGuiDockNodeSettings": "struct ImGuiDockNodeSettings",
"ImGuiDockRequest": "struct ImGuiDockRequest",
"ImGuiDragDropFlags": "int",
"ImGuiErrorCallback": "void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
"ImGuiErrorRecoveryState": "struct ImGuiErrorRecoveryState",
@@ -78,7 +71,6 @@
"ImGuiInputEventKey": "struct ImGuiInputEventKey",
"ImGuiInputEventMouseButton": "struct ImGuiInputEventMouseButton",
"ImGuiInputEventMousePos": "struct ImGuiInputEventMousePos",
"ImGuiInputEventMouseViewport": "struct ImGuiInputEventMouseViewport",
"ImGuiInputEventMouseWheel": "struct ImGuiInputEventMouseWheel",
"ImGuiInputEventText": "struct ImGuiInputEventText",
"ImGuiInputFlags": "int",
@@ -100,7 +92,6 @@
"ImGuiLayoutType": "int",
"ImGuiListClipper": "struct ImGuiListClipper",
"ImGuiListClipperData": "struct ImGuiListClipperData",
"ImGuiListClipperFlags": "int",
"ImGuiListClipperRange": "struct ImGuiListClipperRange",
"ImGuiLocEntry": "struct ImGuiLocEntry",
"ImGuiLogFlags": "int",
@@ -128,7 +119,6 @@
"ImGuiPayload": "struct ImGuiPayload",
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
"ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor",
"ImGuiPopupData": "struct ImGuiPopupData",
"ImGuiPopupFlags": "int",
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
@@ -187,8 +177,6 @@
"ImGuiViewportFlags": "int",
"ImGuiViewportP": "struct ImGuiViewportP",
"ImGuiWindow": "struct ImGuiWindow",
"ImGuiWindowClass": "struct ImGuiWindowClass",
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
"ImGuiWindowFlags": "int",
"ImGuiWindowRefreshFlags": "int",
"ImGuiWindowSettings": "struct ImGuiWindowSettings",

View File

@@ -15,7 +15,6 @@ local t={
ImDrawListFlags="int",
ImDrawListSharedData="struct ImDrawListSharedData",
ImDrawListSplitter="struct ImDrawListSplitter",
ImDrawTextFlags="int",
ImDrawVert="struct ImDrawVert",
ImFileHandle="FILE*",
ImFont="struct ImFont",
@@ -48,7 +47,6 @@ local t={
ImGuiContext="struct ImGuiContext",
ImGuiContextHook="struct ImGuiContextHook",
ImGuiContextHookCallback="void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
ImGuiDataAuthority="int",
ImGuiDataType="int",
ImGuiDataTypeInfo="struct ImGuiDataTypeInfo",
ImGuiDataTypeStorage="struct ImGuiDataTypeStorage",
@@ -56,11 +54,6 @@ local t={
ImGuiDebugAllocEntry="struct ImGuiDebugAllocEntry",
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
ImGuiDebugLogFlags="int",
ImGuiDockContext="struct ImGuiDockContext",
ImGuiDockNode="struct ImGuiDockNode",
ImGuiDockNodeFlags="int",
ImGuiDockNodeSettings="struct ImGuiDockNodeSettings",
ImGuiDockRequest="struct ImGuiDockRequest",
ImGuiDragDropFlags="int",
ImGuiErrorCallback="void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
ImGuiErrorRecoveryState="struct ImGuiErrorRecoveryState",
@@ -78,7 +71,6 @@ local t={
ImGuiInputEventKey="struct ImGuiInputEventKey",
ImGuiInputEventMouseButton="struct ImGuiInputEventMouseButton",
ImGuiInputEventMousePos="struct ImGuiInputEventMousePos",
ImGuiInputEventMouseViewport="struct ImGuiInputEventMouseViewport",
ImGuiInputEventMouseWheel="struct ImGuiInputEventMouseWheel",
ImGuiInputEventText="struct ImGuiInputEventText",
ImGuiInputFlags="int",
@@ -100,7 +92,6 @@ local t={
ImGuiLayoutType="int",
ImGuiListClipper="struct ImGuiListClipper",
ImGuiListClipperData="struct ImGuiListClipperData",
ImGuiListClipperFlags="int",
ImGuiListClipperRange="struct ImGuiListClipperRange",
ImGuiLocEntry="struct ImGuiLocEntry",
ImGuiLogFlags="int",
@@ -128,7 +119,6 @@ local t={
ImGuiPayload="struct ImGuiPayload",
ImGuiPlatformIO="struct ImGuiPlatformIO",
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
ImGuiPlatformMonitor="struct ImGuiPlatformMonitor",
ImGuiPopupData="struct ImGuiPopupData",
ImGuiPopupFlags="int",
ImGuiPtrOrIndex="struct ImGuiPtrOrIndex",
@@ -187,8 +177,6 @@ local t={
ImGuiViewportFlags="int",
ImGuiViewportP="struct ImGuiViewportP",
ImGuiWindow="struct ImGuiWindow",
ImGuiWindowClass="struct ImGuiWindowClass",
ImGuiWindowDockStyle="struct ImGuiWindowDockStyle",
ImGuiWindowFlags="int",
ImGuiWindowRefreshFlags="int",
ImGuiWindowSettings="struct ImGuiWindowSettings",

2
imgui

Submodule imgui updated: e7d2d636af...5d4126876b

View File

@@ -34,7 +34,6 @@ int main(void)
display_size.x = 1920;
display_size.y = 1080;
io->DisplaySize = display_size;
printf("DisplaySice %f, %f\n", io->DisplaySize.x, io->DisplaySize.y);
io->DeltaTime = 1.0f / 60.0f;
igNewFrame();