mirror of
https://github.com/cimgui/cimgui.git
synced 2026-08-27 20:21:29 +00:00
Compare commits
48 Commits
1.92.6dock
...
docking_in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
700140771a | ||
|
|
0fe23bd335 | ||
|
|
91ea8b056f | ||
|
|
773f3d56c4 | ||
|
|
ba1e982860 | ||
|
|
a5ae0de007 | ||
|
|
2d96a3ed57 | ||
|
|
e48d428b16 | ||
|
|
eee47a982e | ||
|
|
22bc54470a | ||
|
|
fedb6d334a | ||
|
|
9f545f9520 | ||
|
|
d658cc8699 | ||
|
|
af684b6cb1 | ||
|
|
bf9b984ef7 | ||
|
|
944385687d | ||
|
|
b705b2465a | ||
|
|
1531eea44a | ||
|
|
cd61f1ae57 | ||
|
|
053280dfff | ||
|
|
8aaa4b624e | ||
|
|
9bffa7632f | ||
|
|
e2c1d90128 | ||
|
|
64fcbf194b | ||
|
|
fced8c3451 | ||
|
|
7388e030e8 | ||
|
|
bbddc623b5 | ||
|
|
07fde25e7a | ||
|
|
1261b23193 | ||
|
|
650a427069 | ||
|
|
d24c440621 | ||
|
|
e90e027c82 | ||
|
|
1e3cfe7157 | ||
|
|
0313c558fc | ||
|
|
ad70f13873 | ||
|
|
a444aa6c50 | ||
|
|
fab34e3855 | ||
|
|
467262ef29 | ||
|
|
0e533fd0b7 | ||
|
|
715802490e | ||
|
|
8de229087f | ||
|
|
e41d6fb1e8 | ||
|
|
c0c044e22f | ||
|
|
2cb5b7d19b | ||
|
|
335ef09f52 | ||
|
|
ee8fbaaff4 | ||
|
|
1a15dc7bcd | ||
|
|
77f726c6ca |
@@ -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)
|
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:
|
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.9b of Dear ImGui with internal api]
|
||||||
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
|
* 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.
|
* 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.
|
* 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.
|
||||||
@@ -106,10 +106,15 @@ Notes:
|
|||||||
# example bindings based on cimgui
|
# example bindings based on cimgui
|
||||||
|
|
||||||
* [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui)
|
* [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui)
|
||||||
|
* [cimgui-go](https://github.com/AllenDang/cimgui-go)
|
||||||
|
* [Hexa.NET.ImGui](https://github.com/HexaEngine/Hexa.NET.ImGui)
|
||||||
|
* [EvergineTeam/ImGui](https://github.com/EvergineTeam/ImGui.Net)
|
||||||
|
* [dear-imgui-rs](https://github.com/Latias94/dear-imgui-rs)
|
||||||
|
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
|
||||||
* [ImGui.NET](https://github.com/mellinoe/ImGui.NET)
|
* [ImGui.NET](https://github.com/mellinoe/ImGui.NET)
|
||||||
|
* [Zig-ImGui](https://github.com/SpexGuy/Zig-ImGui)
|
||||||
* [nimgl/imgui](https://github.com/nimgl/imgui)
|
* [nimgl/imgui](https://github.com/nimgl/imgui)
|
||||||
* [kotlin-imgui](https://github.com/Dominaezzz/kotlin-imgui)
|
* [kotlin-imgui](https://github.com/Dominaezzz/kotlin-imgui)
|
||||||
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
|
|
||||||
* [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui)
|
* [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui)
|
||||||
* [DerelictImgui](https://github.com/Extrawurst/DerelictImgui)
|
* [DerelictImgui](https://github.com/Extrawurst/DerelictImgui)
|
||||||
* [BindBC-CimGui](https://github.com/MrcSnm/bindbc-cimgui)
|
* [BindBC-CimGui](https://github.com/MrcSnm/bindbc-cimgui)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//this must be equal to that in imgui_impl_vulkan.h
|
//this must be equal to that in imgui_impl_vulkan.h
|
||||||
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
//#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||||
|
|
||||||
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
#include <cimgui.h>
|
#include <cimgui.h>
|
||||||
@@ -214,7 +214,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
|
|||||||
{
|
{
|
||||||
VkDescriptorPoolSize pool_sizes[] =
|
VkDescriptorPoolSize pool_sizes[] =
|
||||||
{
|
{
|
||||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE },
|
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
|
||||||
|
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
|
||||||
};
|
};
|
||||||
VkDescriptorPoolCreateInfo pool_info = {};
|
VkDescriptorPoolCreateInfo pool_info = {};
|
||||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||||
@@ -281,9 +282,10 @@ static void CleanupVulkan()
|
|||||||
vkDestroyInstance(g_Instance, g_Allocator);
|
vkDestroyInstance(g_Instance, g_Allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CleanupVulkanWindow()
|
static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
|
||||||
{
|
{
|
||||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator);
|
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
|
||||||
|
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
||||||
@@ -620,7 +622,7 @@ int main(int argc, char* argv[])
|
|||||||
ImGui_ImplSDL3_Shutdown();
|
ImGui_ImplSDL3_Shutdown();
|
||||||
igDestroyContext(NULL);
|
igDestroyContext(NULL);
|
||||||
|
|
||||||
CleanupVulkanWindow();
|
CleanupVulkanWindow(&g_MainWindowData);
|
||||||
CleanupVulkan();
|
CleanupVulkan();
|
||||||
|
|
||||||
SDL_DestroyWindow(window);
|
SDL_DestroyWindow(window);
|
||||||
|
|||||||
36
backend_test/example_sdl_renderer3/CMakeLists.txt
Normal file
36
backend_test/example_sdl_renderer3/CMakeLists.txt
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.30)
|
||||||
|
project(cimgui_sdlrenderer3 LANGUAGES C CXX)
|
||||||
|
|
||||||
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
|
||||||
|
include(FetchContent)
|
||||||
|
|
||||||
|
FetchContent_Declare(
|
||||||
|
sdl3
|
||||||
|
GIT_REPOSITORY https://github.com/libsdl-org/SDL.git
|
||||||
|
GIT_TAG release-3.4.0
|
||||||
|
#GIT_SHALLOW TRUE
|
||||||
|
GIT_PROGRESS TRUE
|
||||||
|
)
|
||||||
|
|
||||||
|
set(SDL_TEST_LIBRARY OFF CACHE BOOL "" FORCE)
|
||||||
|
FetchContent_MakeAvailable(sdl3)
|
||||||
|
|
||||||
|
include(../cmake/GenerateCimguiBindings.cmake)
|
||||||
|
|
||||||
|
set(inclulist ${sdl3_SOURCE_DIR}/include)
|
||||||
|
GenerateCimguiBindings(cimgui_with_backend sdl3 sdlrenderer3 inclulist)
|
||||||
|
target_link_libraries(cimgui_with_backend PRIVATE SDL3::SDL3)
|
||||||
|
|
||||||
|
add_executable(${PROJECT_NAME}
|
||||||
|
main.c
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE SDL3::SDL3 cimgui_with_backend)
|
||||||
|
target_compile_definitions(
|
||||||
|
${PROJECT_NAME}
|
||||||
|
PRIVATE
|
||||||
|
CIMGUI_DEFINE_ENUMS_AND_STRUCTS=1
|
||||||
|
CIMGUI_USE_SDL3=1
|
||||||
|
CIMGUI_USE_SDLRENDERER3=1
|
||||||
|
)
|
||||||
16
backend_test/example_sdl_renderer3/README.md
Normal file
16
backend_test/example_sdl_renderer3/README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# SDLRenderer3
|
||||||
|
|
||||||
|
This example takes from `example_sdlgpu3`. We need to generate bindings for SDLRenderer3 backend because they are not native to `cimgui`. Then you can add the compiled library for linking in your application.
|
||||||
|
|
||||||
|
For the generation phase from cmake you need LuaJIT to be present.
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
From the build directory of your choice:
|
||||||
|
|
||||||
|
`cmake path_to_example_sdlgpu3`
|
||||||
|
|
||||||
|
Then simply run:
|
||||||
|
|
||||||
|
`make`
|
||||||
|
|
||||||
158
backend_test/example_sdl_renderer3/main.c
Normal file
158
backend_test/example_sdl_renderer3/main.c
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
#include <assert.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <SDL3/SDL.h>
|
||||||
|
|
||||||
|
#include <cimgui.h>
|
||||||
|
#include <cimgui_impl.h>
|
||||||
|
|
||||||
|
#define igGetIO igGetIO_Nil
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
// Setup SDL library
|
||||||
|
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMEPAD)) {
|
||||||
|
fprintf(stderr, "Failed to init video! %s", SDL_GetError());
|
||||||
|
return 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
// Setup window and renderer
|
||||||
|
float main_scale = SDL_GetDisplayContentScale(SDL_GetPrimaryDisplay());
|
||||||
|
SDL_WindowFlags window_flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
|
||||||
|
SDL_Window* window = NULL;
|
||||||
|
SDL_Renderer* renderer = NULL;
|
||||||
|
if (!SDL_CreateWindowAndRenderer("Dear ImGui SDL3 Renderer example", (int)(1280 * main_scale), (int)(720 * main_scale), window_flags, &window, &renderer))
|
||||||
|
{
|
||||||
|
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
|
||||||
|
SDL_ShowWindow(window);
|
||||||
|
|
||||||
|
// Setup Dear ImGui context
|
||||||
|
igCreateContext(NULL);
|
||||||
|
ImGuiIO* io = igGetIO(); (void)io;
|
||||||
|
io->ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||||
|
io->ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
||||||
|
|
||||||
|
// Setup Dear ImGui style
|
||||||
|
igStyleColorsDark(NULL);
|
||||||
|
//igStyleColorsLight(NULL);
|
||||||
|
|
||||||
|
// Setup scaling
|
||||||
|
ImGuiStyle* style = igGetStyle();
|
||||||
|
ImGuiStyle_ScaleAllSizes(style, main_scale);
|
||||||
|
style->FontScaleDpi = main_scale; // Set initial font scale. (using io.ConfigDpiScaleFonts=true makes this unnecessary. We leave both here for documentation purpose)
|
||||||
|
io->ConfigDpiScaleFonts = true; // [Experimental] Automatically overwrite style.FontScaleDpi in Begin() when Monitor DPI changes. This will scale fonts but _NOT_ scale sizes/padding for now.
|
||||||
|
io->ConfigDpiScaleViewports = true; // [Experimental] Scale Dear ImGui and Platform Windows when Monitor DPI changes.
|
||||||
|
|
||||||
|
// Setup Platform/Renderer backends
|
||||||
|
ImGui_ImplSDL3_InitForSDLRenderer(window, renderer);
|
||||||
|
ImGui_ImplSDLRenderer3_Init(renderer);
|
||||||
|
|
||||||
|
// Our state
|
||||||
|
bool show_demo_window = true;
|
||||||
|
bool show_another_window = false;
|
||||||
|
ImVec4 clear_color;
|
||||||
|
clear_color.x = 0.45f;
|
||||||
|
clear_color.y = 0.55f;
|
||||||
|
clear_color.z = 0.60f;
|
||||||
|
clear_color.w = 1.00f;
|
||||||
|
|
||||||
|
// Main loop
|
||||||
|
bool done = false;
|
||||||
|
while (!done)
|
||||||
|
{
|
||||||
|
// Poll and handle events (inputs, window resize, etc.)
|
||||||
|
// You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.
|
||||||
|
// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application, or clear/overwrite your copy of the mouse data.
|
||||||
|
// - When io.WantCaptureKeyboard is true, do not dispatch keyboard input data to your main application, or clear/overwrite your copy of the keyboard data.
|
||||||
|
// Generally you may always pass all inputs to dear imgui, and hide them from your application based on those two flags.
|
||||||
|
// [If using SDL_MAIN_USE_CALLBACKS: call ImGui_ImplSDL3_ProcessEvent() from your SDL_AppEvent() function]
|
||||||
|
SDL_Event event;
|
||||||
|
while (SDL_PollEvent(&event))
|
||||||
|
{
|
||||||
|
ImGui_ImplSDL3_ProcessEvent(&event);
|
||||||
|
if (event.type == SDL_EVENT_QUIT)
|
||||||
|
done = true;
|
||||||
|
if (event.type == SDL_EVENT_WINDOW_CLOSE_REQUESTED && event.window.windowID == SDL_GetWindowID(window))
|
||||||
|
done = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppIterate() function]
|
||||||
|
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MINIMIZED)
|
||||||
|
{
|
||||||
|
SDL_Delay(10);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Setup Dear ImGui frame
|
||||||
|
SDL_SetRenderDrawColorFloat(renderer, clear_color.x, clear_color.y, clear_color.z, clear_color.w);
|
||||||
|
SDL_RenderClear(renderer);
|
||||||
|
ImGui_ImplSDLRenderer3_NewFrame();
|
||||||
|
ImGui_ImplSDL3_NewFrame();
|
||||||
|
igNewFrame();
|
||||||
|
|
||||||
|
// 1. Show the big demo window (Most of the sample code is in igShowDemoWindow()! You can browse its code to learn more about Dear ImGui!).
|
||||||
|
if (show_demo_window)
|
||||||
|
igShowDemoWindow(&show_demo_window);
|
||||||
|
|
||||||
|
// 2. Show a simple window that we create ourselves. We use a Begin/End pair to create a named window.
|
||||||
|
{
|
||||||
|
static float f = 0.0f;
|
||||||
|
static int counter = 0;
|
||||||
|
|
||||||
|
igBegin("Hello, world!", NULL, 0); // Create a window called "Hello, world!" and append into it.
|
||||||
|
|
||||||
|
igText("This is some useful text."); // Display some text (you can use a format strings too)
|
||||||
|
igCheckbox("Demo Window", &show_demo_window); // Edit bools storing our window open/close state
|
||||||
|
igCheckbox("Another Window", &show_another_window);
|
||||||
|
|
||||||
|
igSliderFloat("float", &f, 0.0f, 1.0f, "%.3f", 0); // Edit 1 float using a slider from 0.0f to 1.0f
|
||||||
|
igColorEdit4("clear color", (float*)&clear_color, 0); // Edit 3 floats representing a color
|
||||||
|
|
||||||
|
ImVec2 buttonSize;
|
||||||
|
buttonSize.x = 0;
|
||||||
|
buttonSize.y = 0;
|
||||||
|
if (igButton("Button", buttonSize)) // Buttons return true when clicked (most widgets return true when edited/activated)
|
||||||
|
counter++;
|
||||||
|
igSameLine(0.0f, -1.0f);
|
||||||
|
igText("counter = %d", counter);
|
||||||
|
|
||||||
|
igText("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io->Framerate, io->Framerate);
|
||||||
|
igEnd();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3. Show another simple window.
|
||||||
|
if (show_another_window)
|
||||||
|
{
|
||||||
|
igBegin("Another Window", &show_another_window, 0); // Pass a pointer to our bool variable (the window will have a closing button that will clear the bool when clicked)
|
||||||
|
igText("Hello from another window!");
|
||||||
|
ImVec2 buttonSize;
|
||||||
|
buttonSize.x = 0; buttonSize.y = 0;
|
||||||
|
if (igButton("Close Me", buttonSize))
|
||||||
|
show_another_window = false;
|
||||||
|
igEnd();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Rendering
|
||||||
|
igRender();
|
||||||
|
ImDrawData* draw_data = igGetDrawData();
|
||||||
|
const bool is_minimized = (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f);
|
||||||
|
ImGui_ImplSDLRenderer3_RenderDrawData(draw_data, renderer);
|
||||||
|
SDL_RenderPresent(renderer);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Cleanup
|
||||||
|
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppQuit() function]
|
||||||
|
ImGui_ImplSDL3_Shutdown();
|
||||||
|
ImGui_ImplSDLRenderer3_Shutdown();
|
||||||
|
igDestroyContext(NULL);
|
||||||
|
|
||||||
|
SDL_DestroyRenderer(renderer);
|
||||||
|
SDL_DestroyWindow(window);
|
||||||
|
SDL_Quit();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//this must be equal to that in imgui_impl_vulkan.h
|
//this must be equal to that in imgui_impl_vulkan.h
|
||||||
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
//#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||||
|
|
||||||
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
#include "cimgui.h"
|
#include "cimgui.h"
|
||||||
@@ -218,7 +218,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
|
|||||||
{
|
{
|
||||||
VkDescriptorPoolSize pool_sizes[] =
|
VkDescriptorPoolSize pool_sizes[] =
|
||||||
{
|
{
|
||||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE },
|
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
|
||||||
|
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
|
||||||
};
|
};
|
||||||
VkDescriptorPoolCreateInfo pool_info = {};
|
VkDescriptorPoolCreateInfo pool_info = {};
|
||||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||||
@@ -285,9 +286,10 @@ static void CleanupVulkan()
|
|||||||
vkDestroyInstance(g_Instance, g_Allocator);
|
vkDestroyInstance(g_Instance, g_Allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CleanupVulkanWindow()
|
static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
|
||||||
{
|
{
|
||||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator);
|
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
|
||||||
|
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
||||||
@@ -615,7 +617,7 @@ int main(int argc, char* argv[])
|
|||||||
ImGui_ImplSDL2_Shutdown();
|
ImGui_ImplSDL2_Shutdown();
|
||||||
igDestroyContext(NULL);
|
igDestroyContext(NULL);
|
||||||
|
|
||||||
CleanupVulkanWindow();
|
CleanupVulkanWindow(&g_MainWindowData);
|
||||||
CleanupVulkan();
|
CleanupVulkan();
|
||||||
|
|
||||||
SDL_DestroyWindow(window);
|
SDL_DestroyWindow(window);
|
||||||
|
|||||||
736
cimgui.cpp
736
cimgui.cpp
File diff suppressed because it is too large
Load Diff
@@ -30,8 +30,20 @@ CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focuse
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef CIMGUI_USE_OPENGL3
|
#ifdef CIMGUI_USE_OPENGL3
|
||||||
|
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
|
|
||||||
|
typedef struct ImGui_ImplOpenGL3_RenderState ImGui_ImplOpenGL3_RenderState;
|
||||||
|
struct ImGui_ImplOpenGL3_RenderState
|
||||||
|
{
|
||||||
|
bool UseBindSampler;
|
||||||
|
bool UseTexParameterFilter;
|
||||||
|
unsigned int CurrentSampler;
|
||||||
|
unsigned int CurrentTexParameterFilter;
|
||||||
|
};
|
||||||
|
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
|
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
|
||||||
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
|
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
|
||||||
|
CIMGUI_API ImGui_ImplOpenGL3_RenderState* ImGui_ImplOpenGL3_GetRenderState(void);
|
||||||
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
|
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
|
||||||
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
|
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
|
||||||
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
|
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
|
||||||
@@ -110,11 +122,14 @@ CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
|
|||||||
typedef struct ImGui_ImplVulkanH_Frame ImGui_ImplVulkanH_Frame;
|
typedef struct ImGui_ImplVulkanH_Frame ImGui_ImplVulkanH_Frame;
|
||||||
typedef struct ImGui_ImplVulkanH_Window ImGui_ImplVulkanH_Window;
|
typedef struct ImGui_ImplVulkanH_Window ImGui_ImplVulkanH_Window;
|
||||||
typedef struct ImGui_ImplVulkan_PipelineInfo ImGui_ImplVulkan_PipelineInfo;
|
typedef struct ImGui_ImplVulkan_PipelineInfo ImGui_ImplVulkan_PipelineInfo;
|
||||||
|
typedef struct ImVector_VkDynamicState {int Size;int Capacity;VkDynamicState* Data;} ImVector_VkDynamicState;
|
||||||
|
|
||||||
struct ImGui_ImplVulkan_PipelineInfo
|
struct ImGui_ImplVulkan_PipelineInfo
|
||||||
{
|
{
|
||||||
VkRenderPass RenderPass;
|
VkRenderPass RenderPass;
|
||||||
uint32_t Subpass;
|
uint32_t Subpass;
|
||||||
VkSampleCountFlagBits MSAASamples;
|
VkSampleCountFlagBits MSAASamples;
|
||||||
|
ImVector_VkDynamicState ExtraDynamicStates;
|
||||||
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
|
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
|
||||||
VkImageUsageFlags SwapChainImageUsage;
|
VkImageUsageFlags SwapChainImageUsage;
|
||||||
};
|
};
|
||||||
@@ -192,7 +207,10 @@ struct ImGui_ImplVulkanH_Window
|
|||||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
|
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
|
||||||
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
|
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
|
||||||
|
typedef ImVector<VkDynamicState> ImVector_VkDynamicState;
|
||||||
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
|
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE (8)
|
||||||
|
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE (2)
|
||||||
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_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 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 int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
|
||||||
@@ -202,7 +220,7 @@ CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice
|
|||||||
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
|
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 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 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 VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkImageView image_view,VkImageLayout image_layout);
|
||||||
CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info);
|
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_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 bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt,
|
|||||||
self->appendfv(fmt, args);
|
self->appendfv(fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
#ifdef CIMGUI_VARGS0
|
||||||
|
CIMGUI_API void ImGuiTextBuffer_appendf0(ImGuiTextBuffer *self, const char *fmt)
|
||||||
|
{
|
||||||
|
ImGuiTextBuffer_appendf(self,fmt);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CIMGUI_API float igGET_FLT_MAX()
|
CIMGUI_API float igGET_FLT_MAX()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ PLACE_STRUCTS_C
|
|||||||
/////////////////////////hand written functions
|
/////////////////////////hand written functions
|
||||||
//no appendfV
|
//no appendfV
|
||||||
CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt, ...);
|
CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt, ...);
|
||||||
|
#ifdef CIMGUI_VARGS0
|
||||||
|
CIMGUI_API void ImGuiTextBuffer_appendf0(ImGuiTextBuffer *self, const char *fmt);
|
||||||
|
#endif
|
||||||
//for getting FLT_MAX in bindings
|
//for getting FLT_MAX in bindings
|
||||||
CIMGUI_API float igGET_FLT_MAX(void);
|
CIMGUI_API float igGET_FLT_MAX(void);
|
||||||
//for getting FLT_MIN in bindings
|
//for getting FLT_MIN in bindings
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
619
generator/cpp2ffi_extra.lua
Normal file
619
generator/cpp2ffi_extra.lua
Normal file
@@ -0,0 +1,619 @@
|
|||||||
|
local insert = table.insert
|
||||||
|
|
||||||
|
local function ToStr(t,dometatables)
|
||||||
|
local function basicToStr (o)
|
||||||
|
if type(o) == "number" or type(o)=="boolean" then
|
||||||
|
return tostring(o)
|
||||||
|
elseif type(o) == "string" then
|
||||||
|
return string.format("%q", o)
|
||||||
|
else
|
||||||
|
return tostring(o) --"nil"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local strTG = {}
|
||||||
|
--local basicToStr= basicSerialize --tostring
|
||||||
|
if type(t) ~="table" then return basicToStr(t) end
|
||||||
|
local recG = 0
|
||||||
|
local nameG="SELF"..recG
|
||||||
|
local ancest ={}
|
||||||
|
local function _ToStr(t,strT,rec,name)
|
||||||
|
if ancest[t] then
|
||||||
|
strT[#strT + 1]=ancest[t]
|
||||||
|
return
|
||||||
|
end
|
||||||
|
rec = rec + 1
|
||||||
|
ancest[t]=name
|
||||||
|
strT[#strT + 1]='{'
|
||||||
|
local count=0
|
||||||
|
-------------
|
||||||
|
--if t.name then strT[#strT + 1]=string.rep("\t",rec).."name:"..tostring(t.name) end
|
||||||
|
----------------
|
||||||
|
for k,v in pairs(t) do
|
||||||
|
count=count+1
|
||||||
|
strT[#strT + 1]="\n"
|
||||||
|
local kstr
|
||||||
|
if type(k) == "table" then
|
||||||
|
local name2=string.format("%s.KEY%d",name,count)
|
||||||
|
strT[#strT + 1]=string.rep("\t",rec).."["
|
||||||
|
local strTK = {}
|
||||||
|
_ToStr(k,strTK,rec,name2)
|
||||||
|
kstr=table.concat(strTK)
|
||||||
|
strT[#strT + 1]=kstr.."]="
|
||||||
|
else
|
||||||
|
kstr = basicToStr(k)
|
||||||
|
strT[#strT + 1]=string.rep("\t",rec).."["..kstr.."]="
|
||||||
|
end
|
||||||
|
|
||||||
|
if type(v) == "table" then
|
||||||
|
local name2=string.format("%s[%s]",name,kstr)
|
||||||
|
_ToStr(v,strT,rec,name2)
|
||||||
|
else
|
||||||
|
strT[#strT + 1]=basicToStr(v)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if dometatables then
|
||||||
|
local mt = getmetatable(t)
|
||||||
|
if mt then
|
||||||
|
local namemt = string.format("%s.METATABLE",name)
|
||||||
|
local strMT = {}
|
||||||
|
_ToStr(mt,strMT,rec,namemt)
|
||||||
|
local metastr=table.concat(strMT)
|
||||||
|
strT[#strT + 1] = "\n"..string.rep("\t",rec).."[METATABLE]="..metastr
|
||||||
|
end
|
||||||
|
end
|
||||||
|
strT[#strT + 1]='}'
|
||||||
|
rec = rec - 1
|
||||||
|
return
|
||||||
|
end
|
||||||
|
_ToStr(t,strTG,recG,nameG)
|
||||||
|
return table.concat(strTG)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function prtable(...)
|
||||||
|
for i=1, select('#', ...) do
|
||||||
|
local t = select(i, ...)
|
||||||
|
print(ToStr(t))
|
||||||
|
print("\n")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- more compact serialization
|
||||||
|
local function basicSerialize (o)
|
||||||
|
if type(o) == "number" then
|
||||||
|
return string.format("%.17g", o)
|
||||||
|
elseif type(o)=="boolean" then
|
||||||
|
return tostring(o)
|
||||||
|
elseif type(o) == "string" then
|
||||||
|
return string.format("%q", o)
|
||||||
|
elseif pcall(function() return o.__serialize end) then
|
||||||
|
return o.__serialize(o)
|
||||||
|
elseif type(o)=="cdata" then
|
||||||
|
return cdataSerialize(o)
|
||||||
|
else
|
||||||
|
return tostring(o) --"nil"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
-- very readable and now suited for cyclic tables
|
||||||
|
local kw = {['and'] = true, ['break'] = true, ['do'] = true, ['else'] = true,
|
||||||
|
['elseif'] = true, ['end'] = true, ['false'] = true, ['for'] = true,
|
||||||
|
['function'] = true, ['goto'] = true, ['if'] = true, ['in'] = true,
|
||||||
|
['local'] = true, ['nil'] = true, ['not'] = true, ['or'] = true,
|
||||||
|
['repeat'] = true, ['return'] = true, ['then'] = true, ['true'] = true,
|
||||||
|
['until'] = true, ['while'] = true}
|
||||||
|
function tb2st_serialize(t,options)
|
||||||
|
options = options or {}
|
||||||
|
local function sorter(a,b)
|
||||||
|
if type(a)==type(b) then
|
||||||
|
return a<b
|
||||||
|
elseif type(a)=="number" then
|
||||||
|
return true
|
||||||
|
else
|
||||||
|
assert(type(b)=="number")
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local function serialize_key(val, dodot, pretty)
|
||||||
|
local dot = dodot and "." or ""
|
||||||
|
if type(val)=="string" then
|
||||||
|
if val:match '^[_%a][_%w]*$' and not kw[val] then
|
||||||
|
return dot..tostring(val)
|
||||||
|
else
|
||||||
|
return "[\""..tostring(val).."\"]"
|
||||||
|
end
|
||||||
|
elseif (not pretty) and (not dodot) and (type(val) == "number") and (math.floor(val)==val) then
|
||||||
|
return --array index
|
||||||
|
else
|
||||||
|
return "["..tostring(val).."]"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local function serialize_key_name(val)
|
||||||
|
return serialize_key(val, true)
|
||||||
|
end
|
||||||
|
local insert = table.insert
|
||||||
|
local function _tb2st(t,saved,sref,level,name)
|
||||||
|
saved = saved or {} -- initial value
|
||||||
|
level = level or 0
|
||||||
|
sref = sref or {}
|
||||||
|
name = name or "t"
|
||||||
|
if type(t)=="table" then
|
||||||
|
if saved[t] then
|
||||||
|
sref[#sref+1] = {saved[t],name}
|
||||||
|
return"nil"
|
||||||
|
else
|
||||||
|
saved[t] = name
|
||||||
|
|
||||||
|
local ordered_keys = {}
|
||||||
|
for k,v in pairs(t) do
|
||||||
|
insert(ordered_keys,k)
|
||||||
|
end
|
||||||
|
table.sort(ordered_keys,sorter)
|
||||||
|
|
||||||
|
local str2 = {}
|
||||||
|
insert(str2,"{")
|
||||||
|
if options.pretty then insert(str2,"\n") end
|
||||||
|
for _,k in ipairs(ordered_keys) do
|
||||||
|
if options.pretty then insert(str2,(" "):rep(level+1)) end
|
||||||
|
local v = t[k]
|
||||||
|
local kser = serialize_key(k, nil, options.pretty)
|
||||||
|
insert(str2, (kser and (kser .."=") or ""))
|
||||||
|
if type(v)~="table" then
|
||||||
|
insert(str2, basicSerialize(v))
|
||||||
|
else
|
||||||
|
local name2 = name .. serialize_key_name(k)
|
||||||
|
insert(str2,_tb2st(v,saved,sref,level+1,name2))
|
||||||
|
end
|
||||||
|
if options.pretty then insert(str2,",\n") else insert(str2, ",") end
|
||||||
|
end
|
||||||
|
str2[#str2] = "}"
|
||||||
|
if level == 0 then
|
||||||
|
--insert(str2, 1,"local ffi = require'ffi'\nlocal t=")
|
||||||
|
insert(str2, 1,"local t=")
|
||||||
|
for i,v in ipairs(sref) do
|
||||||
|
insert(str2, "\n"..v[2].."="..v[1])
|
||||||
|
end
|
||||||
|
insert(str2,"\n return t")
|
||||||
|
end
|
||||||
|
return table.concat(str2)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
return basicSerialize(t)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return(_tb2st(t))
|
||||||
|
end
|
||||||
|
local serializeTableF = function(t) return tb2st_serialize(t,{pretty=true}) end --new serialization more compact
|
||||||
|
|
||||||
|
local function deepcopy(object)
|
||||||
|
local lookup_table = {}
|
||||||
|
local function _copy(object)
|
||||||
|
--assert(object~=REST)
|
||||||
|
if type(object) ~= "table" then
|
||||||
|
return object
|
||||||
|
elseif lookup_table[object] then
|
||||||
|
return lookup_table[object]
|
||||||
|
end
|
||||||
|
local new_table = {}
|
||||||
|
lookup_table[object] = new_table
|
||||||
|
for index, value in pairs(object) do
|
||||||
|
new_table[_copy(index)] = _copy(value)
|
||||||
|
end
|
||||||
|
return setmetatable(new_table, getmetatable(object))
|
||||||
|
end
|
||||||
|
return _copy(object)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function table_do_sorted(t,f)
|
||||||
|
local sorted = {}
|
||||||
|
for k,v in pairs(t) do
|
||||||
|
table.insert(sorted,k)
|
||||||
|
end
|
||||||
|
table.sort(sorted)
|
||||||
|
for ii,k in ipairs(sorted) do
|
||||||
|
f(k,t[k])
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
----------------------------
|
||||||
|
local function save_data(filename,...)
|
||||||
|
local file,err = io.open(filename,"w")
|
||||||
|
if not file then error(err) end
|
||||||
|
for i=1, select('#', ...) do
|
||||||
|
local data = select(i, ...)
|
||||||
|
file:write(data)
|
||||||
|
end
|
||||||
|
file:close()
|
||||||
|
end
|
||||||
|
|
||||||
|
local function read_data(filename)
|
||||||
|
local hfile,err = io.open(filename,"r")
|
||||||
|
if not hfile then error(err) end
|
||||||
|
local hstrfile = hfile:read"*a"
|
||||||
|
hfile:close()
|
||||||
|
return hstrfile
|
||||||
|
end
|
||||||
|
|
||||||
|
local function copyfile(src,dst,blocksize)
|
||||||
|
blocksize = blocksize or 1024*4
|
||||||
|
print( "copyfile", src, dst)
|
||||||
|
local srcf, err = io.open(src,"rb")
|
||||||
|
if not srcf then error(err) end
|
||||||
|
local dstf, err = io.open(dst,"wb")
|
||||||
|
if not dstf then error(err) end
|
||||||
|
while true do
|
||||||
|
local data = srcf:read(blocksize)
|
||||||
|
if not data then break end
|
||||||
|
dstf:write(data)
|
||||||
|
end
|
||||||
|
srcf:close()
|
||||||
|
dstf:close()
|
||||||
|
end
|
||||||
|
|
||||||
|
local function paramListWithoutDots(params)
|
||||||
|
if not params then return nil end
|
||||||
|
local i, j = string.find(params, "%.%.%.")
|
||||||
|
while i > 1 do
|
||||||
|
i = i - 1
|
||||||
|
local c = string.sub(params,i,i)
|
||||||
|
if c == "," then
|
||||||
|
return string.sub(params, 1, i-1) .. params:sub(j+1)
|
||||||
|
elseif c == "(" then
|
||||||
|
return string.sub(params, 1, i) .. params:sub(j+1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
error("paramListWithoutDots failed")
|
||||||
|
return "()"
|
||||||
|
end
|
||||||
|
|
||||||
|
-------------------------------json saving
|
||||||
|
--avoid mixed tables (with string and integer keys)
|
||||||
|
local function json_prepare(defs)
|
||||||
|
--delete signatures in function
|
||||||
|
for k,def in pairs(defs) do
|
||||||
|
for k2,v in pairs(def) do
|
||||||
|
if type(k2)=="string" then
|
||||||
|
def[k2] = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return defs
|
||||||
|
end
|
||||||
|
|
||||||
|
local function save_output(self)
|
||||||
|
--add VARGS0
|
||||||
|
local defsVARG = {}
|
||||||
|
for k,defs in pairs(self.defsT) do
|
||||||
|
for i, def in ipairs(defs) do
|
||||||
|
if def.isvararg then
|
||||||
|
--print("vararg",k,#def)
|
||||||
|
local def1 = deepcopy(def)
|
||||||
|
def1.isvararg = nil
|
||||||
|
def1.isVARG0 = true
|
||||||
|
def1.argsT[#def1.argsT] = nil
|
||||||
|
def1.args = paramListWithoutDots(def1.args)
|
||||||
|
def1.call_args = paramListWithoutDots(def1.call_args)
|
||||||
|
def1.call_args_conv = paramListWithoutDots(def1.call_args_conv)
|
||||||
|
def1.signature = paramListWithoutDots(def1.signature)
|
||||||
|
def1.cimguiname = def1.cimguiname.."0"
|
||||||
|
def1.ov_cimguiname = def1.ov_cimguiname.."0"
|
||||||
|
defsVARG[k.."0"] = defsVARG[k.."0"] or {}
|
||||||
|
table.insert(defsVARG[k.."0"], def1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
for k,def in pairs(defsVARG) do
|
||||||
|
self.defsT[k] = def
|
||||||
|
end
|
||||||
|
--add manual not present in module
|
||||||
|
for k,v in pairs(self.manuals) do
|
||||||
|
if not self.defsT[k] then
|
||||||
|
--print("add manual",k)
|
||||||
|
self.defsT[k] = {v}
|
||||||
|
else
|
||||||
|
--print("skipped manual",k)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
---------- delete call_args_conv
|
||||||
|
-- for k,defs in pairs(self.defsT) do
|
||||||
|
-- for i, def in ipairs(defs) do
|
||||||
|
-- def.call_args_conv = nil
|
||||||
|
-- end
|
||||||
|
-- end
|
||||||
|
----------------------
|
||||||
|
save_data("./output/overloads.txt",self.overloadstxt)
|
||||||
|
save_data("./output/definitions.lua",serializeTableF(self.defsT))
|
||||||
|
save_data("./output/structs_and_enums.lua",serializeTableF(self.structs_and_enums_table))
|
||||||
|
save_data("./output/typedefs_dict.lua",serializeTableF(self.typedefs_dict))
|
||||||
|
save_data("./output/constants.lua",serializeTableF(self.constants))
|
||||||
|
|
||||||
|
local json = require"json"
|
||||||
|
local json_opts = {dict_on_empty={defaults=true}}
|
||||||
|
save_data("./output/definitions.json",json.encode(json_prepare(self.defsT),json_opts))
|
||||||
|
save_data("./output/structs_and_enums.json",json.encode(self.structs_and_enums_table))
|
||||||
|
save_data("./output/typedefs_dict.json",json.encode(self.typedefs_dict))
|
||||||
|
save_data("./output/constants.json",json.encode(self.constants))
|
||||||
|
|
||||||
|
local modulename = self.modulename
|
||||||
|
copyfile("./output/"..modulename..".h", "../"..modulename..".h")
|
||||||
|
copyfile("./output/"..modulename..".cpp", "../"..modulename..".cpp")
|
||||||
|
os.remove("./output/"..modulename..".h")
|
||||||
|
os.remove("./output/"..modulename..".cpp")
|
||||||
|
end
|
||||||
|
---------------------- C writing functions
|
||||||
|
local function func_header_generate_structs(FP)
|
||||||
|
|
||||||
|
local outtab = {}--"\n/////func_header_generate_structs\n"}
|
||||||
|
prtable("embeded_structs",FP.embeded_structs)
|
||||||
|
table_do_sorted(FP.embeded_structs,function(k,v)
|
||||||
|
if not FP.typenames[k] then
|
||||||
|
print("embeded",k,v)
|
||||||
|
table.insert(outtab,"typedef "..v.." "..k..";\n")
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
table_do_sorted(FP.embeded_enums,function(k,v) table.insert(outtab,"typedef "..v.." "..k..";\n") end)
|
||||||
|
--table.insert(outtab, "\n//////////templates\n")
|
||||||
|
table_do_sorted(FP.templates,function(ttype,v)
|
||||||
|
--print("func_header_generate_structs",ttype)
|
||||||
|
if not (ttype == "std::function") then
|
||||||
|
table_do_sorted(v,function(ttypein,te)
|
||||||
|
local ttype2 = ttype:gsub("::","_") --std::string
|
||||||
|
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype2.."_"..te..";\n")
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
--M.prtable("typenames",FP.typenames)
|
||||||
|
table_do_sorted(FP.opaque_structs,function(k,v)
|
||||||
|
if not FP.typenames[k] then
|
||||||
|
table.insert(outtab,"typedef "..v.." "..k..";\n")
|
||||||
|
--table.insert(outtab,"typedef const "..v.."* "..k.."_opq;\n")
|
||||||
|
--table.insert(outtab,"typedef "..v.."* "..k.."_opq;\n")
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
--table.insert(outtab, "\n//////////end func header\n")
|
||||||
|
return outtab
|
||||||
|
end
|
||||||
|
|
||||||
|
local function func_header_generate_funcs(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]
|
||||||
|
assert(def,t.signature..t.cimguiname)
|
||||||
|
local custom
|
||||||
|
if FP.custom_header then
|
||||||
|
custom = FP.custom_header(outtab, def)
|
||||||
|
end
|
||||||
|
local manual = FP.get_manuals(def)
|
||||||
|
if not custom and not manual and not def.templated and not FP.get_skipped(def) --and not (FP.opaque_structs[def.stname] and not def.is_static_function)
|
||||||
|
then
|
||||||
|
local addcoment = "" --def.comment or ""
|
||||||
|
local empty = def.args:match("^%(%)") --no args
|
||||||
|
if def.constructor then
|
||||||
|
assert(def.stname ~= "","constructor without struct")
|
||||||
|
table.insert(outtab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
|
||||||
|
if FP.CONSTRUCTORS_GENERATION then
|
||||||
|
outtab[#outtab] = outtab[#outtab].."\nCIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..");\n"
|
||||||
|
end
|
||||||
|
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")
|
||||||
|
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, "#endif\n")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
table.insert(outtab,"CIMGUI_API "..ret.." "..def.ov_cimguiname..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, "#endif\n")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if FP.custom_function_post then
|
||||||
|
FP:custom_function_post(outtab, def)
|
||||||
|
end
|
||||||
|
else --not cimguiname
|
||||||
|
table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
return outtab
|
||||||
|
end
|
||||||
|
|
||||||
|
local function func_header_generate(FP)
|
||||||
|
|
||||||
|
local outtab = func_header_generate_structs(FP)
|
||||||
|
table.insert(outtab, 1, "\n#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
|
||||||
|
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
|
||||||
|
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
|
||||||
|
|
||||||
|
return cfuncsstr
|
||||||
|
end
|
||||||
|
|
||||||
|
local function ImGui_f_implementation(def)
|
||||||
|
local outtab = {}
|
||||||
|
local ptret = def.retref and "&" or ""
|
||||||
|
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..def.args.."\n")
|
||||||
|
table.insert(outtab,"{\n")
|
||||||
|
local namespace = def.namespace and def.namespace.."::" or ""
|
||||||
|
--namespace = def.is_static_function and namespace..def.stname.."::" or namespace
|
||||||
|
local call_args_conv = def.call_args_conv or def.call_args
|
||||||
|
if def.isvararg then
|
||||||
|
local call_args_conv = call_args_conv:gsub("%.%.%.","args")
|
||||||
|
table.insert(outtab," va_list args;\n")
|
||||||
|
table.insert(outtab," va_start(args, fmt);\n")
|
||||||
|
if def.ret~="void" then
|
||||||
|
table.insert(outtab," "..def.ret.." ret = "..namespace..def.funcname.."V"..call_args_conv..";\n")
|
||||||
|
else
|
||||||
|
table.insert(outtab," "..namespace..def.funcname.."V"..call_args_conv..";\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab," va_end(args);\n")
|
||||||
|
if def.ret~="void" then
|
||||||
|
table.insert(outtab," return ret;\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
-- 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".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args).."\n")
|
||||||
|
table.insert(outtab, "{\n")
|
||||||
|
local returnword = "return "
|
||||||
|
if def.ret=="void" then returnword = "" end
|
||||||
|
table.insert(outtab, " "..returnword..def.ov_cimguiname..paramListWithoutDots(def.call_args)..";\n")
|
||||||
|
table.insert(outtab, "}\n")
|
||||||
|
table.insert(outtab, "#endif\n")
|
||||||
|
elseif def.nonUDT then
|
||||||
|
if def.nonUDT == 1 then
|
||||||
|
insert(outtab," return ConvertFromCPP_"..def.conv.."("..namespace..def.funcname..call_args_conv..");\n")
|
||||||
|
elseif def.nonUDT == 2 then
|
||||||
|
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..call_args_conv..");\n")
|
||||||
|
elseif def.nonUDT == "string" then
|
||||||
|
insert(outtab," static std::string str;\n")
|
||||||
|
insert(outtab," str.assign("..ptret.."self->"..def.funcname..call_args_conv..");\n")
|
||||||
|
insert(outtab," return str.c_str();\n")
|
||||||
|
elseif def.nonUDT == "opaque" then
|
||||||
|
insert(outtab," static auto opq = "..ptret..namespace..def.funcname..call_args_conv..";\n")
|
||||||
|
insert(outtab," opq = "..ptret..namespace..def.funcname..call_args_conv..";\n")
|
||||||
|
insert(outtab," return &opq;\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
else --standard ImGui
|
||||||
|
table.insert(outtab," return "..ptret..namespace..def.funcname..call_args_conv..";\n")
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
end
|
||||||
|
--table.insert(outtab,"}\n")
|
||||||
|
return table.concat(outtab, "")
|
||||||
|
end
|
||||||
|
local function struct_f_implementation(def)
|
||||||
|
local outtab = {}
|
||||||
|
local empty = def.args:match("^%(%)") --no args
|
||||||
|
local ptret = def.retref and "&" or ""
|
||||||
|
|
||||||
|
local imgui_stname = def.stname
|
||||||
|
|
||||||
|
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..def.args.."\n")
|
||||||
|
table.insert(outtab,"{\n")
|
||||||
|
local call_args_conv = def.call_args_conv or def.call_args
|
||||||
|
if def.isvararg then
|
||||||
|
local call_args_conv = call_args_conv:gsub("%.%.%.","args")
|
||||||
|
table.insert(outtab," va_list args;\n")
|
||||||
|
table.insert(outtab," va_start(args, fmt);\n")
|
||||||
|
if def.ret~="void" then
|
||||||
|
table.insert(outtab," "..def.ret.." ret = self->"..def.funcname.."V"..call_args_conv..";\n")
|
||||||
|
else
|
||||||
|
table.insert(outtab," self->"..def.funcname.."V"..call_args_conv..";\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab," va_end(args);\n")
|
||||||
|
if def.ret~="void" then
|
||||||
|
table.insert(outtab," return ret;\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
-- 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".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args).."\n")
|
||||||
|
table.insert(outtab, "{\n")
|
||||||
|
local returnword = "return "
|
||||||
|
if def.ret=="void" then returnword = "" end
|
||||||
|
table.insert(outtab, " "..returnword..def.ov_cimguiname.."(self,"..paramListWithoutDots(def.call_args):sub(2,-1)..";\n")
|
||||||
|
table.insert(outtab, "}\n")
|
||||||
|
table.insert(outtab, "#endif\n")
|
||||||
|
elseif def.nonUDT then
|
||||||
|
if def.nonUDT == 1 then
|
||||||
|
insert(outtab," return ConvertFromCPP_"..def.conv.."(self->"..def.funcname..call_args_conv..");\n")
|
||||||
|
elseif def.nonUDT == 2 then
|
||||||
|
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..call_args_conv..");\n")
|
||||||
|
elseif def.nonUDT == "string" then
|
||||||
|
insert(outtab," static std::string str;\n")
|
||||||
|
insert(outtab," str.assign("..ptret.."self->"..def.funcname..call_args_conv..");\n")
|
||||||
|
insert(outtab," return str.c_str();\n")
|
||||||
|
elseif def.nonUDT == "opaque" then
|
||||||
|
insert(outtab," static auto opq = "..ptret.."self->"..def.funcname..call_args_conv..";\n")
|
||||||
|
insert(outtab," opq = "..ptret.."self->"..def.funcname..call_args_conv..";\n")
|
||||||
|
insert(outtab," return &opq;\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
else --standard struct
|
||||||
|
table.insert(outtab," return "..ptret.."self->"..def.funcname..call_args_conv..";\n")
|
||||||
|
table.insert(outtab,"}\n")
|
||||||
|
end
|
||||||
|
|
||||||
|
return table.concat(outtab, "")
|
||||||
|
end
|
||||||
|
|
||||||
|
local function func_implementation(FP)
|
||||||
|
|
||||||
|
local outtab = {}
|
||||||
|
for _,t in ipairs(FP.funcdefs) do
|
||||||
|
repeat -- continue simulation
|
||||||
|
if not t.cimguiname then break end
|
||||||
|
local cimf = FP.defsT[t.cimguiname]
|
||||||
|
local def = cimf[t.signature]
|
||||||
|
assert(def)
|
||||||
|
local custom
|
||||||
|
if FP.custom_implementation then
|
||||||
|
custom = FP.custom_implementation(outtab, def, FP)
|
||||||
|
end
|
||||||
|
local manual = FP.get_manuals(def)
|
||||||
|
if not custom and not manual and not def.templated and not FP.get_skipped(def) --and not (FP.opaque_structs[def.stname] and not def.is_static_function)
|
||||||
|
then
|
||||||
|
local call_args_conv = def.call_args_conv or def.call_args
|
||||||
|
if def.constructor then
|
||||||
|
local tab = {}
|
||||||
|
assert(def.stname ~= "","constructor without struct")
|
||||||
|
local empty = def.args:match("^%(%)") --no args
|
||||||
|
table.insert(tab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname..(empty and "(void)" or def.args).."\n")
|
||||||
|
table.insert(tab,"{\n")
|
||||||
|
table.insert(tab," return IM_NEW("..def.stname..")"..call_args_conv..";\n")
|
||||||
|
table.insert(tab,"}\n")
|
||||||
|
if FP.CONSTRUCTORS_GENERATION then
|
||||||
|
table.insert(tab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..")\n")
|
||||||
|
table.insert(tab,"{\n")
|
||||||
|
table.insert(tab," IM_PLACEMENT_NEW(self)"..def.stname..call_args_conv..";\n")
|
||||||
|
table.insert(tab,"}\n")
|
||||||
|
end
|
||||||
|
table.insert(outtab, table.concat(tab, ""))
|
||||||
|
elseif def.destructor then
|
||||||
|
local tab = {}
|
||||||
|
local args = "("..def.stname.."* self)"
|
||||||
|
local fname = def.stname.."_destroy"
|
||||||
|
table.insert(tab,"CIMGUI_API void "..fname..args.."\n")
|
||||||
|
table.insert(tab,"{\n")
|
||||||
|
table.insert(tab," IM_DELETE(self);\n")
|
||||||
|
table.insert(tab,"}\n")
|
||||||
|
table.insert(outtab, table.concat(tab, ""))
|
||||||
|
elseif def.stname == "" or def.is_static_function then
|
||||||
|
table.insert(outtab, ImGui_f_implementation(def))
|
||||||
|
else -- stname
|
||||||
|
table.insert(outtab, struct_f_implementation(def))
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if FP.custom_function_post then
|
||||||
|
FP:custom_function_post(outtab, def)
|
||||||
|
end
|
||||||
|
until true
|
||||||
|
end
|
||||||
|
local conversors = FP:genConversors()
|
||||||
|
local cimplem = conversors .. table.concat(outtab)
|
||||||
|
return cimplem
|
||||||
|
end
|
||||||
|
|
||||||
|
return {func_implementation = func_implementation, save_output = save_output, save_data = save_data, read_data = read_data, copyfile = copyfile, func_header_generate = func_header_generate, prtable = prtable, table_do_sorted = table_do_sorted, save_output = save_output, deepcopy = deepcopy, serializeTableF = serializeTableF, func_header_generate_structs = func_header_generate_structs}
|
||||||
@@ -39,10 +39,10 @@ if FREETYPE_GENERATION then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then
|
if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then
|
||||||
CPRE = COMPILER..[[ -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
CPRE = COMPILER..[[ -E -dD -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||||
CTEST = COMPILER.." --version"
|
CTEST = COMPILER.." --version"
|
||||||
elseif COMPILER == "cl" then
|
elseif COMPILER == "cl" then
|
||||||
CPRE = COMPILER..[[ /E /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
CPRE = COMPILER..[[ /E /d1PP /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||||
CTEST = COMPILER
|
CTEST = COMPILER
|
||||||
else
|
else
|
||||||
print("Working without compiler ")
|
print("Working without compiler ")
|
||||||
@@ -120,10 +120,13 @@ local save_data = cpp2ffi.save_data
|
|||||||
local copyfile = cpp2ffi.copyfile
|
local copyfile = cpp2ffi.copyfile
|
||||||
local serializeTableF = cpp2ffi.serializeTableF
|
local serializeTableF = cpp2ffi.serializeTableF
|
||||||
|
|
||||||
local function func_header_impl_generate(FP)
|
local function func_header_impl_generate(FP, defines)
|
||||||
|
|
||||||
local outtab = {}
|
local outtab = {}
|
||||||
|
--may be key sorting is not enough and declaration order needed
|
||||||
|
cpp2ffi.table_do_sorted(defines, function(k,v)
|
||||||
|
table.insert(outtab,"#define "..k.." "..v.."\n")
|
||||||
|
end)
|
||||||
-- for _,t in ipairs(FP.funcdefs) do
|
-- for _,t in ipairs(FP.funcdefs) do
|
||||||
-- if t.cimguiname then
|
-- if t.cimguiname then
|
||||||
-- local cimf = FP.defsT[t.cimguiname]
|
-- local cimf = FP.defsT[t.cimguiname]
|
||||||
@@ -286,6 +289,7 @@ local function cimgui_generation(parser)
|
|||||||
|
|
||||||
|
|
||||||
local tdt = parser:generate_templates()
|
local tdt = parser:generate_templates()
|
||||||
|
cpp2ffi.prtable("generate_templates",tdt)
|
||||||
local cstructsstr = outpre..tdt..outpost
|
local cstructsstr = outpre..tdt..outpost
|
||||||
|
|
||||||
if gdefines.IMGUI_HAS_DOCK then
|
if gdefines.IMGUI_HAS_DOCK then
|
||||||
@@ -379,16 +383,15 @@ end
|
|||||||
local function parseImGuiHeader(header,names)
|
local function parseImGuiHeader(header,names)
|
||||||
--prepare parser
|
--prepare parser
|
||||||
local parser = cpp2ffi.Parser()
|
local parser = cpp2ffi.Parser()
|
||||||
|
parser.modulename = "cimgui"
|
||||||
parser.getCname = function(stname,funcname,namespace)
|
parser.getCname = function(stname,funcname,namespace)
|
||||||
local pre = (stname == "") and (namespace and (namespace=="ImGui" and "ig" or namespace.."_") or "ig") or stname.."_"
|
local pre = (stname == "") and (namespace and (namespace=="ImGui" and "ig" or namespace.."_") or "ig") or stname.."_"
|
||||||
return pre..funcname
|
return pre..funcname
|
||||||
end
|
end
|
||||||
parser.cname_overloads = cimgui_overloads
|
parser.cname_overloads = cimgui_overloads
|
||||||
--parser.manuals = cimgui_manuals
|
|
||||||
parser:set_manuals(cimgui_manuals, "cimgui")
|
parser:set_manuals(cimgui_manuals, "cimgui")
|
||||||
parser.skipped = cimgui_skipped
|
parser.skipped = cimgui_skipped
|
||||||
parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
|
--parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
|
||||||
--parser.gen_template_typedef = gen_template_typedef --use auto
|
--parser.gen_template_typedef = gen_template_typedef --use auto
|
||||||
parser.COMMENTS_GENERATION = COMMENTS_GENERATION
|
parser.COMMENTS_GENERATION = COMMENTS_GENERATION
|
||||||
parser.CONSTRUCTORS_GENERATION = CONSTRUCTORS_GENERATION
|
parser.CONSTRUCTORS_GENERATION = CONSTRUCTORS_GENERATION
|
||||||
@@ -398,7 +401,7 @@ local function parseImGuiHeader(header,names)
|
|||||||
parser.custom_function_post = custom_function_post
|
parser.custom_function_post = custom_function_post
|
||||||
parser.header_text_insert = header_text_insert
|
parser.header_text_insert = header_text_insert
|
||||||
local defines = parser:take_lines(CPRE..header,names,COMPILER)
|
local defines = parser:take_lines(CPRE..header,names,COMPILER)
|
||||||
|
--cpp2ffi.prtable("defines",defines)
|
||||||
return parser
|
return parser
|
||||||
end
|
end
|
||||||
--generation
|
--generation
|
||||||
@@ -409,13 +412,14 @@ local headers = [[#include "]]..IMGUI_PATH..[[/imgui.h"
|
|||||||
local headersT = {[[imgui]]}
|
local headersT = {[[imgui]]}
|
||||||
if INTERNAL_GENERATION then
|
if INTERNAL_GENERATION then
|
||||||
headers = headers .. [[#include "]]..IMGUI_PATH..[[/imgui_internal.h"
|
headers = headers .. [[#include "]]..IMGUI_PATH..[[/imgui_internal.h"
|
||||||
|
]]
|
||||||
|
headers = headers .. [[#include "]]..IMGUI_PATH..[[/imstb_textedit.h"
|
||||||
]]
|
]]
|
||||||
headersT[#headersT + 1] = [[imgui_internal]]
|
headersT[#headersT + 1] = [[imgui_internal]]
|
||||||
headersT[#headersT + 1] = [[imstb_textedit]]
|
headersT[#headersT + 1] = [[imstb_textedit]]
|
||||||
end
|
end
|
||||||
if FREETYPE_GENERATION then
|
if FREETYPE_GENERATION then
|
||||||
headers = headers .. [[
|
headers = headers .. [[#include "]]..IMGUI_PATH..[[/misc/freetype/imgui_freetype.h"
|
||||||
#include "]]..IMGUI_PATH..[[/misc/freetype/imgui_freetype.h"
|
|
||||||
]]
|
]]
|
||||||
headersT[#headersT + 1] = [[imgui_freetype]]
|
headersT[#headersT + 1] = [[imgui_freetype]]
|
||||||
end
|
end
|
||||||
@@ -438,14 +442,8 @@ structs_and_enums_table.templated_structs = parser1.templated_structs
|
|||||||
structs_and_enums_table.typenames = parser1.typenames
|
structs_and_enums_table.typenames = parser1.typenames
|
||||||
structs_and_enums_table.templates_done = parser1.templates_done
|
structs_and_enums_table.templates_done = parser1.templates_done
|
||||||
--structs_and_enums_table.nonPOD_used = parser1.nP_used
|
--structs_and_enums_table.nonPOD_used = parser1.nP_used
|
||||||
|
|
||||||
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
|
|
||||||
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
|
|
||||||
|
|
||||||
----------save fundefs in definitions.lua for using in bindings
|
|
||||||
--DefsByStruct(pFP)
|
|
||||||
set_defines(parser1.defsT)
|
set_defines(parser1.defsT)
|
||||||
save_data("./output/definitions.lua",serializeTableF(parser1.defsT))
|
parser1:save_output()
|
||||||
|
|
||||||
--check every function has ov_cimguiname
|
--check every function has ov_cimguiname
|
||||||
-- for k,v in pairs(parser1.defsT) do
|
-- for k,v in pairs(parser1.defsT) do
|
||||||
@@ -463,7 +461,11 @@ if ff then
|
|||||||
else
|
else
|
||||||
backends_folder = IMGUI_PATH .. "/backends/"
|
backends_folder = IMGUI_PATH .. "/backends/"
|
||||||
end
|
end
|
||||||
|
local function getCname(stname,funcname, namespace)
|
||||||
|
if #stname == 0 then return funcname end --top level
|
||||||
|
local pre = stname.."_"
|
||||||
|
return pre..funcname
|
||||||
|
end
|
||||||
local parser2
|
local parser2
|
||||||
|
|
||||||
if #implementations > 0 then
|
if #implementations > 0 then
|
||||||
@@ -495,13 +497,15 @@ if #implementations > 0 then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
parser2.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
parser2.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||||
|
parser2.getCname = getCname
|
||||||
local defines = parser2:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
local defines = parser2:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||||
|
|
||||||
local parser3 = cpp2ffi.Parser()
|
local parser3 = cpp2ffi.Parser()
|
||||||
|
parser3.getCname = getCname
|
||||||
parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||||
parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
local defines = parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||||
parser3:do_parse()
|
parser3:do_parse()
|
||||||
local cfuncsstr = func_header_impl_generate(parser3)
|
local cfuncsstr = func_header_impl_generate(parser3, defines)
|
||||||
local cstructstr1,cstructstr2 = parser3.structs_and_enums[1], parser3.structs_and_enums[2]
|
local cstructstr1,cstructstr2 = parser3.structs_and_enums[1], parser3.structs_and_enums[2]
|
||||||
local cstru = cstructstr1 .. cstructstr2
|
local cstru = cstructstr1 .. cstructstr2
|
||||||
if cstru ~="" then
|
if cstru ~="" then
|
||||||
@@ -549,20 +553,9 @@ local function json_prepare(defs)
|
|||||||
end
|
end
|
||||||
---[[
|
---[[
|
||||||
local json = require"json"
|
local json = require"json"
|
||||||
save_data("./output/definitions.json",json.encode(json_prepare(parser1.defsT),{dict_on_empty={defaults=true}}))
|
|
||||||
--delete extra info for json
|
|
||||||
--structs_and_enums_table.templated_structs = nil
|
|
||||||
--structs_and_enums_table.typenames = nil
|
|
||||||
--structs_and_enums_table.templates_done = nil
|
|
||||||
save_data("./output/structs_and_enums.json",json.encode(structs_and_enums_table))
|
|
||||||
save_data("./output/typedefs_dict.json",json.encode(parser1.typedefs_dict))
|
|
||||||
if parser2 then
|
if parser2 then
|
||||||
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
|
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
|
||||||
end
|
end
|
||||||
--]]
|
--]]
|
||||||
-------------------copy C files to repo root
|
|
||||||
copyfile("./output/cimgui.h", "../cimgui.h")
|
|
||||||
copyfile("./output/cimgui.cpp", "../cimgui.cpp")
|
|
||||||
os.remove("./output/cimgui.h")
|
|
||||||
os.remove("./output/cimgui.cpp")
|
|
||||||
print"all done!!"
|
print"all done!!"
|
||||||
|
|||||||
125
generator/output/constants.json
Normal file
125
generator/output/constants.json
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
{
|
||||||
|
"DOCKING_HOST_DRAW_CHANNEL_BG": "0",
|
||||||
|
"DOCKING_HOST_DRAW_CHANNEL_FG": "1",
|
||||||
|
"IMGUI_CHECKVERSION()": "ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
|
||||||
|
"IMGUI_DEBUG_LOG(...)": "ImGui::DebugLog(__VA_ARGS__)",
|
||||||
|
"IMGUI_DEBUG_LOG_ACTIVEID(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_CLIPPER(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_DOCKING(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_ERROR(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_FOCUS(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_FONT(...)": "do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_INPUTROUTING(...)": "do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_IO(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_NAV(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_POPUP(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_SELECTION(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_TABLE(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventTable) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_LOG_VIEWPORT(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
"IMGUI_DEBUG_PRINTF(_FMT,...)": "printf(_FMT, __VA_ARGS__)",
|
||||||
|
"IMGUI_FONT_SIZE_MAX": "(512.0f)",
|
||||||
|
"IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE": "(128.0f)",
|
||||||
|
"IMGUI_PAYLOAD_TYPE_COLOR_3F": "\"_COL3F\"",
|
||||||
|
"IMGUI_PAYLOAD_TYPE_COLOR_4F": "\"_COL4F\"",
|
||||||
|
"IMGUI_PAYLOAD_TYPE_WINDOW": "\"_IMWINDOW\"",
|
||||||
|
"IMGUI_TABLE_MAX_COLUMNS": "512",
|
||||||
|
"IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)",
|
||||||
|
"IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)",
|
||||||
|
"IMGUI_VERSION": "\"1.92.9b\"",
|
||||||
|
"IMGUI_VERSION_NUM": "19291",
|
||||||
|
"IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f",
|
||||||
|
"IMSTB_TEXTEDIT_CHARTYPE": "char",
|
||||||
|
"IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)",
|
||||||
|
"IMSTB_TEXTEDIT_POSITIONTYPE": "int",
|
||||||
|
"IMSTB_TEXTEDIT_STRING": "ImGuiInputTextState",
|
||||||
|
"IMSTB_TEXTEDIT_UNDOCHARCOUNT": "999",
|
||||||
|
"IMSTB_TEXTEDIT_UNDOSTATECOUNT": "99",
|
||||||
|
"IM_ALLOC(_SIZE)": "ImGui::MemAlloc(_SIZE)",
|
||||||
|
"IM_ARRAYSIZE": "IM_COUNTOF",
|
||||||
|
"IM_ASSERT(_EXPR)": "assert(_EXPR)",
|
||||||
|
"IM_ASSERT_USER_ERROR(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
|
||||||
|
"IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
|
||||||
|
"IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
|
||||||
|
"IM_BITARRAY_CLEARBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
|
||||||
|
"IM_BITARRAY_TESTBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
|
||||||
|
"IM_COL32(R,G,B,A)": "(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
|
||||||
|
"IM_COL32_A_MASK": "0xFF000000",
|
||||||
|
"IM_COL32_A_SHIFT": "24",
|
||||||
|
"IM_COL32_BLACK": "IM_COL32(0,0,0,255)",
|
||||||
|
"IM_COL32_BLACK_TRANS": "IM_COL32(0,0,0,0)",
|
||||||
|
"IM_COL32_B_SHIFT": "16",
|
||||||
|
"IM_COL32_DISABLE": "IM_COL32(0,0,0,1)",
|
||||||
|
"IM_COL32_G_SHIFT": "8",
|
||||||
|
"IM_COL32_R_SHIFT": "0",
|
||||||
|
"IM_COL32_WHITE": "IM_COL32(255,255,255,255)",
|
||||||
|
"IM_COUNTOF(_ARR)": "((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
|
||||||
|
"IM_DEBUG_BREAK()": "__asm__ volatile(\"int3;nop\")",
|
||||||
|
"IM_DRAWLIST_ARCFAST_SAMPLE_MAX": "IM_DRAWLIST_ARCFAST_TABLE_SIZE",
|
||||||
|
"IM_DRAWLIST_ARCFAST_TABLE_SIZE": "48",
|
||||||
|
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)": "ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
|
||||||
|
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)": "((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
|
||||||
|
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)": "((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
|
||||||
|
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX": "512",
|
||||||
|
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN": "4",
|
||||||
|
"IM_DRAWLIST_TEX_LINES_WIDTH_MAX": "(32)",
|
||||||
|
"IM_F32_TO_INT8_SAT(_VAL)": "((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
|
||||||
|
"IM_F32_TO_INT8_UNBOUND(_VAL)": "((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
|
||||||
|
"IM_FMTARGS(FMT)": "__attribute__((format(gnu_printf, FMT, FMT+1)))",
|
||||||
|
"IM_FMTLIST(FMT)": "__attribute__((format(gnu_printf, FMT, 0)))",
|
||||||
|
"IM_FREE(_PTR)": "ImGui::MemFree(_PTR)",
|
||||||
|
"IM_MEMALIGN(_OFF,_ALIGN)": "(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
|
||||||
|
"IM_NEW(_TYPE)": "new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
|
||||||
|
"IM_NEWLINE": "\"\\r\\n\"",
|
||||||
|
"IM_PI": "3.14159265358979323846f",
|
||||||
|
"IM_PLACEMENT_NEW(_PTR)": "new(ImNewWrapper(), _PTR)",
|
||||||
|
"IM_PRIX64": "\"llX\"",
|
||||||
|
"IM_PRId64": "\"lld\"",
|
||||||
|
"IM_PRIu64": "\"llu\"",
|
||||||
|
"IM_ROUND(_VAL)": "((float)(int)((_VAL) + 0.5f))",
|
||||||
|
"IM_ROUNDUP_TO_EVEN(_V)": "((((_V) + 1) / 2) * 2)",
|
||||||
|
"IM_STATIC_ASSERT(_COND)": "static_assert(_COND, \"\")",
|
||||||
|
"IM_STRINGIFY(_EXPR)": "IM_STRINGIFY_HELPER(_EXPR)",
|
||||||
|
"IM_STRINGIFY_HELPER(_EXPR)": "#_EXPR",
|
||||||
|
"IM_TABSIZE": "(4)",
|
||||||
|
"IM_TRUNC(_VAL)": "((float)(int)(_VAL))",
|
||||||
|
"IM_UNICODE_CODEPOINT_INVALID": "0xFFFD",
|
||||||
|
"IM_UNICODE_CODEPOINT_MAX": "0xFFFF",
|
||||||
|
"IM_UNUSED(_VAR)": "((void)(_VAR))",
|
||||||
|
"ImAcos(X)": "acosf(X)",
|
||||||
|
"ImAtan2(Y,X)": "atan2f((Y), (X))",
|
||||||
|
"ImAtof(STR)": "atof(STR)",
|
||||||
|
"ImCeil(X)": "ceilf(X)",
|
||||||
|
"ImCos(X)": "cosf(X)",
|
||||||
|
"ImFabs(X)": "fabsf(X)",
|
||||||
|
"ImFmod(X,Y)": "fmodf((X), (Y))",
|
||||||
|
"ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)",
|
||||||
|
"ImFontAtlasRectId_GenerationShift_": "(20)",
|
||||||
|
"ImFontAtlasRectId_IndexMask_": "(0x0007FFFF)",
|
||||||
|
"ImFontAtlasRectId_Invalid": "-1",
|
||||||
|
"ImGuiKeyOwner_Any": "((ImGuiID)0)",
|
||||||
|
"ImGuiKeyOwner_NoOwner": "((ImGuiID)-1)",
|
||||||
|
"ImGuiKey_Aliases_BEGIN": "(ImGuiKey_Mouse_BEGIN)",
|
||||||
|
"ImGuiKey_Aliases_END": "(ImGuiKey_Mouse_END)",
|
||||||
|
"ImGuiKey_Gamepad_BEGIN": "(ImGuiKey_GamepadStart)",
|
||||||
|
"ImGuiKey_Gamepad_END": "(ImGuiKey_GamepadRStickDown + 1)",
|
||||||
|
"ImGuiKey_Keyboard_BEGIN": "(ImGuiKey_NamedKey_BEGIN)",
|
||||||
|
"ImGuiKey_Keyboard_END": "(ImGuiKey_GamepadStart)",
|
||||||
|
"ImGuiKey_LegacyNativeKey_BEGIN": "0",
|
||||||
|
"ImGuiKey_LegacyNativeKey_END": "512",
|
||||||
|
"ImGuiKey_Mouse_BEGIN": "(ImGuiKey_MouseLeft)",
|
||||||
|
"ImGuiKey_Mouse_END": "(ImGuiKey_MouseWheelY + 1)",
|
||||||
|
"ImGuiKey_NavGamepadActivate": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
|
||||||
|
"ImGuiKey_NavGamepadCancel": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
|
||||||
|
"ImGuiKey_NavGamepadContextMenu": "ImGuiKey_GamepadFaceUp",
|
||||||
|
"ImGuiKey_NavGamepadMenu": "ImGuiKey_GamepadFaceLeft",
|
||||||
|
"ImGuiKey_NavGamepadTweakFast": "ImGuiKey_GamepadR1",
|
||||||
|
"ImGuiKey_NavGamepadTweakSlow": "ImGuiKey_GamepadL1",
|
||||||
|
"ImGuiKey_NavKeyboardTweakFast": "ImGuiMod_Shift",
|
||||||
|
"ImGuiKey_NavKeyboardTweakSlow": "ImGuiMod_Ctrl",
|
||||||
|
"ImGuiSelectionUserData_Invalid": "((ImGuiSelectionUserData)-1)",
|
||||||
|
"ImMemchr": "memchr",
|
||||||
|
"ImSin(X)": "sinf(X)",
|
||||||
|
"ImSqrt(X)": "sqrtf(X)",
|
||||||
|
"ImStrlen": "strlen",
|
||||||
|
"ImTextureID_Invalid": "((ImTextureID)0)"
|
||||||
|
}
|
||||||
125
generator/output/constants.lua
Normal file
125
generator/output/constants.lua
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
local t={
|
||||||
|
DOCKING_HOST_DRAW_CHANNEL_BG="0",
|
||||||
|
DOCKING_HOST_DRAW_CHANNEL_FG="1",
|
||||||
|
["IMGUI_CHECKVERSION()"]="ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
|
||||||
|
["IMGUI_DEBUG_LOG(...)"]="ImGui::DebugLog(__VA_ARGS__)",
|
||||||
|
["IMGUI_DEBUG_LOG_ACTIVEID(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_CLIPPER(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_DOCKING(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_ERROR(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_FOCUS(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_FONT(...)"]="do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_INPUTROUTING(...)"]="do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_IO(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_NAV(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_POPUP(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_SELECTION(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_TABLE(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventTable) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_LOG_VIEWPORT(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||||
|
["IMGUI_DEBUG_PRINTF(_FMT,...)"]="printf(_FMT, __VA_ARGS__)",
|
||||||
|
IMGUI_FONT_SIZE_MAX="(512.0f)",
|
||||||
|
IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE="(128.0f)",
|
||||||
|
IMGUI_PAYLOAD_TYPE_COLOR_3F="\"_COL3F\"",
|
||||||
|
IMGUI_PAYLOAD_TYPE_COLOR_4F="\"_COL4F\"",
|
||||||
|
IMGUI_PAYLOAD_TYPE_WINDOW="\"_IMWINDOW\"",
|
||||||
|
IMGUI_TABLE_MAX_COLUMNS="512",
|
||||||
|
["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)",
|
||||||
|
["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)",
|
||||||
|
IMGUI_VERSION="\"1.92.9b\"",
|
||||||
|
IMGUI_VERSION_NUM="19291",
|
||||||
|
IMGUI_WINDOW_HARD_MIN_SIZE="4.0f",
|
||||||
|
IMSTB_TEXTEDIT_CHARTYPE="char",
|
||||||
|
IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)",
|
||||||
|
IMSTB_TEXTEDIT_POSITIONTYPE="int",
|
||||||
|
IMSTB_TEXTEDIT_STRING="ImGuiInputTextState",
|
||||||
|
IMSTB_TEXTEDIT_UNDOCHARCOUNT="999",
|
||||||
|
IMSTB_TEXTEDIT_UNDOSTATECOUNT="99",
|
||||||
|
["IM_ALLOC(_SIZE)"]="ImGui::MemAlloc(_SIZE)",
|
||||||
|
IM_ARRAYSIZE="IM_COUNTOF",
|
||||||
|
["IM_ASSERT(_EXPR)"]="assert(_EXPR)",
|
||||||
|
["IM_ASSERT_USER_ERROR(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
|
||||||
|
["IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
|
||||||
|
["IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
|
||||||
|
["IM_BITARRAY_CLEARBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
|
||||||
|
["IM_BITARRAY_TESTBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
|
||||||
|
["IM_COL32(R,G,B,A)"]="(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
|
||||||
|
IM_COL32_A_MASK="0xFF000000",
|
||||||
|
IM_COL32_A_SHIFT="24",
|
||||||
|
IM_COL32_BLACK="IM_COL32(0,0,0,255)",
|
||||||
|
IM_COL32_BLACK_TRANS="IM_COL32(0,0,0,0)",
|
||||||
|
IM_COL32_B_SHIFT="16",
|
||||||
|
IM_COL32_DISABLE="IM_COL32(0,0,0,1)",
|
||||||
|
IM_COL32_G_SHIFT="8",
|
||||||
|
IM_COL32_R_SHIFT="0",
|
||||||
|
IM_COL32_WHITE="IM_COL32(255,255,255,255)",
|
||||||
|
["IM_COUNTOF(_ARR)"]="((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
|
||||||
|
["IM_DEBUG_BREAK()"]="__asm__ volatile(\"int3;nop\")",
|
||||||
|
IM_DRAWLIST_ARCFAST_SAMPLE_MAX="IM_DRAWLIST_ARCFAST_TABLE_SIZE",
|
||||||
|
IM_DRAWLIST_ARCFAST_TABLE_SIZE="48",
|
||||||
|
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)"]="ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
|
||||||
|
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)"]="((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
|
||||||
|
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)"]="((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
|
||||||
|
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX="512",
|
||||||
|
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN="4",
|
||||||
|
IM_DRAWLIST_TEX_LINES_WIDTH_MAX="(32)",
|
||||||
|
["IM_F32_TO_INT8_SAT(_VAL)"]="((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
|
||||||
|
["IM_F32_TO_INT8_UNBOUND(_VAL)"]="((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
|
||||||
|
["IM_FMTARGS(FMT)"]="__attribute__((format(gnu_printf, FMT, FMT+1)))",
|
||||||
|
["IM_FMTLIST(FMT)"]="__attribute__((format(gnu_printf, FMT, 0)))",
|
||||||
|
["IM_FREE(_PTR)"]="ImGui::MemFree(_PTR)",
|
||||||
|
["IM_MEMALIGN(_OFF,_ALIGN)"]="(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
|
||||||
|
["IM_NEW(_TYPE)"]="new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
|
||||||
|
IM_NEWLINE="\"\\r\\n\"",
|
||||||
|
IM_PI="3.14159265358979323846f",
|
||||||
|
["IM_PLACEMENT_NEW(_PTR)"]="new(ImNewWrapper(), _PTR)",
|
||||||
|
IM_PRIX64="\"llX\"",
|
||||||
|
IM_PRId64="\"lld\"",
|
||||||
|
IM_PRIu64="\"llu\"",
|
||||||
|
["IM_ROUND(_VAL)"]="((float)(int)((_VAL) + 0.5f))",
|
||||||
|
["IM_ROUNDUP_TO_EVEN(_V)"]="((((_V) + 1) / 2) * 2)",
|
||||||
|
["IM_STATIC_ASSERT(_COND)"]="static_assert(_COND, \"\")",
|
||||||
|
["IM_STRINGIFY(_EXPR)"]="IM_STRINGIFY_HELPER(_EXPR)",
|
||||||
|
["IM_STRINGIFY_HELPER(_EXPR)"]="#_EXPR",
|
||||||
|
IM_TABSIZE="(4)",
|
||||||
|
["IM_TRUNC(_VAL)"]="((float)(int)(_VAL))",
|
||||||
|
IM_UNICODE_CODEPOINT_INVALID="0xFFFD",
|
||||||
|
IM_UNICODE_CODEPOINT_MAX="0xFFFF",
|
||||||
|
["IM_UNUSED(_VAR)"]="((void)(_VAR))",
|
||||||
|
["ImAcos(X)"]="acosf(X)",
|
||||||
|
["ImAtan2(Y,X)"]="atan2f((Y), (X))",
|
||||||
|
["ImAtof(STR)"]="atof(STR)",
|
||||||
|
["ImCeil(X)"]="ceilf(X)",
|
||||||
|
["ImCos(X)"]="cosf(X)",
|
||||||
|
["ImFabs(X)"]="fabsf(X)",
|
||||||
|
["ImFmod(X,Y)"]="fmodf((X), (Y))",
|
||||||
|
ImFontAtlasRectId_GenerationMask_="(0x3FF00000)",
|
||||||
|
ImFontAtlasRectId_GenerationShift_="(20)",
|
||||||
|
ImFontAtlasRectId_IndexMask_="(0x0007FFFF)",
|
||||||
|
ImFontAtlasRectId_Invalid="-1",
|
||||||
|
ImGuiKeyOwner_Any="((ImGuiID)0)",
|
||||||
|
ImGuiKeyOwner_NoOwner="((ImGuiID)-1)",
|
||||||
|
ImGuiKey_Aliases_BEGIN="(ImGuiKey_Mouse_BEGIN)",
|
||||||
|
ImGuiKey_Aliases_END="(ImGuiKey_Mouse_END)",
|
||||||
|
ImGuiKey_Gamepad_BEGIN="(ImGuiKey_GamepadStart)",
|
||||||
|
ImGuiKey_Gamepad_END="(ImGuiKey_GamepadRStickDown + 1)",
|
||||||
|
ImGuiKey_Keyboard_BEGIN="(ImGuiKey_NamedKey_BEGIN)",
|
||||||
|
ImGuiKey_Keyboard_END="(ImGuiKey_GamepadStart)",
|
||||||
|
ImGuiKey_LegacyNativeKey_BEGIN="0",
|
||||||
|
ImGuiKey_LegacyNativeKey_END="512",
|
||||||
|
ImGuiKey_Mouse_BEGIN="(ImGuiKey_MouseLeft)",
|
||||||
|
ImGuiKey_Mouse_END="(ImGuiKey_MouseWheelY + 1)",
|
||||||
|
ImGuiKey_NavGamepadActivate="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
|
||||||
|
ImGuiKey_NavGamepadCancel="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
|
||||||
|
ImGuiKey_NavGamepadContextMenu="ImGuiKey_GamepadFaceUp",
|
||||||
|
ImGuiKey_NavGamepadMenu="ImGuiKey_GamepadFaceLeft",
|
||||||
|
ImGuiKey_NavGamepadTweakFast="ImGuiKey_GamepadR1",
|
||||||
|
ImGuiKey_NavGamepadTweakSlow="ImGuiKey_GamepadL1",
|
||||||
|
ImGuiKey_NavKeyboardTweakFast="ImGuiMod_Shift",
|
||||||
|
ImGuiKey_NavKeyboardTweakSlow="ImGuiMod_Ctrl",
|
||||||
|
ImGuiSelectionUserData_Invalid="((ImGuiSelectionUserData)-1)",
|
||||||
|
ImMemchr="memchr",
|
||||||
|
["ImSin(X)"]="sinf(X)",
|
||||||
|
["ImSqrt(X)"]="sqrtf(X)",
|
||||||
|
ImStrlen="strlen",
|
||||||
|
ImTextureID_Invalid="((ImTextureID)0)"}
|
||||||
|
return t
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,unsigned int c)",
|
"argsoriginal": "(GLFWwindow* window,unsigned int c)",
|
||||||
"call_args": "(window,c)",
|
"call_args": "(window,c)",
|
||||||
"call_args_old": "(window,c)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_CharCallback",
|
"cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_CharCallback",
|
"funcname": "ImGui_ImplGlfw_CharCallback",
|
||||||
@@ -40,7 +39,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,int entered)",
|
"argsoriginal": "(GLFWwindow* window,int entered)",
|
||||||
"call_args": "(window,entered)",
|
"call_args": "(window,entered)",
|
||||||
"call_args_old": "(window,entered)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
|
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||||
@@ -70,7 +68,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,double x,double y)",
|
"argsoriginal": "(GLFWwindow* window,double x,double y)",
|
||||||
"call_args": "(window,x,y)",
|
"call_args": "(window,x,y)",
|
||||||
"call_args_old": "(window,x,y)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
|
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||||
@@ -92,7 +89,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWmonitor* monitor)",
|
"argsoriginal": "(GLFWmonitor* monitor)",
|
||||||
"call_args": "(monitor)",
|
"call_args": "(monitor)",
|
||||||
"call_args_old": "(monitor)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||||
@@ -114,7 +110,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window)",
|
"argsoriginal": "(GLFWwindow* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||||
@@ -140,7 +135,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
||||||
"call_args": "(window,install_callbacks)",
|
"call_args": "(window,install_callbacks)",
|
||||||
"call_args_old": "(window,install_callbacks)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
|
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||||
@@ -166,7 +160,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
||||||
"call_args": "(window,install_callbacks)",
|
"call_args": "(window,install_callbacks)",
|
||||||
"call_args_old": "(window,install_callbacks)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_InitForOther",
|
"cimguiname": "ImGui_ImplGlfw_InitForOther",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_InitForOther",
|
"funcname": "ImGui_ImplGlfw_InitForOther",
|
||||||
@@ -192,7 +185,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
|
||||||
"call_args": "(window,install_callbacks)",
|
"call_args": "(window,install_callbacks)",
|
||||||
"call_args_old": "(window,install_callbacks)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_InitForVulkan",
|
"funcname": "ImGui_ImplGlfw_InitForVulkan",
|
||||||
@@ -214,7 +206,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window)",
|
"argsoriginal": "(GLFWwindow* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
|
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||||
@@ -252,7 +243,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)",
|
"argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)",
|
||||||
"call_args": "(window,key,scancode,action,mods)",
|
"call_args": "(window,key,scancode,action,mods)",
|
||||||
"call_args_old": "(window,key,scancode,action,mods)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_KeyCallback",
|
"funcname": "ImGui_ImplGlfw_KeyCallback",
|
||||||
@@ -278,7 +268,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWmonitor* monitor,int event)",
|
"argsoriginal": "(GLFWmonitor* monitor,int event)",
|
||||||
"call_args": "(monitor,event)",
|
"call_args": "(monitor,event)",
|
||||||
"call_args_old": "(monitor,event)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_MonitorCallback",
|
"funcname": "ImGui_ImplGlfw_MonitorCallback",
|
||||||
@@ -312,7 +301,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,int button,int action,int mods)",
|
"argsoriginal": "(GLFWwindow* window,int button,int action,int mods)",
|
||||||
"call_args": "(window,button,action,mods)",
|
"call_args": "(window,button,action,mods)",
|
||||||
"call_args_old": "(window,button,action,mods)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
|
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||||
@@ -329,7 +317,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_NewFrame",
|
"cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_NewFrame",
|
"funcname": "ImGui_ImplGlfw_NewFrame",
|
||||||
@@ -351,7 +338,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window)",
|
"argsoriginal": "(GLFWwindow* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
|
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||||
@@ -381,7 +367,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)",
|
"argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)",
|
||||||
"call_args": "(window,xoffset,yoffset)",
|
"call_args": "(window,xoffset,yoffset)",
|
||||||
"call_args_old": "(window,xoffset,yoffset)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_ScrollCallback",
|
"funcname": "ImGui_ImplGlfw_ScrollCallback",
|
||||||
@@ -403,7 +388,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(bool chain_for_all_windows)",
|
"argsoriginal": "(bool chain_for_all_windows)",
|
||||||
"call_args": "(chain_for_all_windows)",
|
"call_args": "(chain_for_all_windows)",
|
||||||
"call_args_old": "(chain_for_all_windows)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||||
@@ -420,7 +404,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_Shutdown",
|
"cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_Shutdown",
|
"funcname": "ImGui_ImplGlfw_Shutdown",
|
||||||
@@ -442,7 +425,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(int milliseconds)",
|
"argsoriginal": "(int milliseconds)",
|
||||||
"call_args": "(milliseconds)",
|
"call_args": "(milliseconds)",
|
||||||
"call_args_old": "(milliseconds)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_Sleep",
|
"cimguiname": "ImGui_ImplGlfw_Sleep",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_Sleep",
|
"funcname": "ImGui_ImplGlfw_Sleep",
|
||||||
@@ -468,7 +450,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(GLFWwindow* window,int focused)",
|
"argsoriginal": "(GLFWwindow* window,int focused)",
|
||||||
"call_args": "(window,focused)",
|
"call_args": "(window,focused)",
|
||||||
"call_args_old": "(window,focused)",
|
|
||||||
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
|
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||||
@@ -485,11 +466,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
"location": "imgui_impl_opengl2:38",
|
"location": "imgui_impl_opengl2:39",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
"ret": "bool",
|
"ret": "bool",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -502,11 +482,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
"location": "imgui_impl_opengl2:39",
|
"location": "imgui_impl_opengl2:40",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -519,11 +498,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_Init",
|
"funcname": "ImGui_ImplOpenGL2_Init",
|
||||||
"location": "imgui_impl_opengl2:32",
|
"location": "imgui_impl_opengl2:33",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||||
"ret": "bool",
|
"ret": "bool",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -536,11 +514,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
||||||
"location": "imgui_impl_opengl2:34",
|
"location": "imgui_impl_opengl2:35",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -558,11 +535,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImDrawData* draw_data)",
|
"argsoriginal": "(ImDrawData* draw_data)",
|
||||||
"call_args": "(draw_data)",
|
"call_args": "(draw_data)",
|
||||||
"call_args_old": "(draw_data)",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
"location": "imgui_impl_opengl2:35",
|
"location": "imgui_impl_opengl2:36",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(ImDrawData*)",
|
"signature": "(ImDrawData*)",
|
||||||
@@ -575,11 +551,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
||||||
"location": "imgui_impl_opengl2:33",
|
"location": "imgui_impl_opengl2:34",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -597,11 +572,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImTextureData* tex)",
|
"argsoriginal": "(ImTextureData* tex)",
|
||||||
"call_args": "(tex)",
|
"call_args": "(tex)",
|
||||||
"call_args_old": "(tex)",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
|
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
"location": "imgui_impl_opengl2:42",
|
"location": "imgui_impl_opengl2:43",
|
||||||
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(ImTextureData*)",
|
"signature": "(ImTextureData*)",
|
||||||
@@ -614,7 +588,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||||
@@ -631,7 +604,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||||
@@ -642,6 +614,22 @@
|
|||||||
"stname": ""
|
"stname": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"ImGui_ImplOpenGL3_GetRenderState": [
|
||||||
|
{
|
||||||
|
"args": "()",
|
||||||
|
"argsT": [],
|
||||||
|
"argsoriginal": "()",
|
||||||
|
"call_args": "()",
|
||||||
|
"cimguiname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
"defaults": {},
|
||||||
|
"funcname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
"location": "imgui_impl_opengl3:80",
|
||||||
|
"ov_cimguiname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
"ret": "ImGui_ImplOpenGL3_RenderState*",
|
||||||
|
"signature": "()",
|
||||||
|
"stname": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
"ImGui_ImplOpenGL3_Init": [
|
"ImGui_ImplOpenGL3_Init": [
|
||||||
{
|
{
|
||||||
"args": "(const char* glsl_version)",
|
"args": "(const char* glsl_version)",
|
||||||
@@ -653,7 +641,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(const char* glsl_version=nullptr)",
|
"argsoriginal": "(const char* glsl_version=nullptr)",
|
||||||
"call_args": "(glsl_version)",
|
"call_args": "(glsl_version)",
|
||||||
"call_args_old": "(glsl_version)",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_Init",
|
"cimguiname": "ImGui_ImplOpenGL3_Init",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"glsl_version": "nullptr"
|
"glsl_version": "nullptr"
|
||||||
@@ -672,7 +659,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_NewFrame",
|
"funcname": "ImGui_ImplOpenGL3_NewFrame",
|
||||||
@@ -694,7 +680,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImDrawData* draw_data)",
|
"argsoriginal": "(ImDrawData* draw_data)",
|
||||||
"call_args": "(draw_data)",
|
"call_args": "(draw_data)",
|
||||||
"call_args_old": "(draw_data)",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
|
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||||
@@ -711,7 +696,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_Shutdown",
|
"funcname": "ImGui_ImplOpenGL3_Shutdown",
|
||||||
@@ -733,7 +717,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImTextureData* tex)",
|
"argsoriginal": "(ImTextureData* tex)",
|
||||||
"call_args": "(tex)",
|
"call_args": "(tex)",
|
||||||
"call_args_old": "(tex)",
|
|
||||||
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
|
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
|
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
|
||||||
@@ -755,7 +738,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(int display_index)",
|
"argsoriginal": "(int display_index)",
|
||||||
"call_args": "(display_index)",
|
"call_args": "(display_index)",
|
||||||
"call_args_old": "(display_index)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||||
@@ -777,7 +759,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||||
@@ -799,7 +780,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForD3D",
|
"funcname": "ImGui_ImplSDL2_InitForD3D",
|
||||||
@@ -821,7 +801,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForMetal",
|
"funcname": "ImGui_ImplSDL2_InitForMetal",
|
||||||
@@ -847,7 +826,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
|
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
|
||||||
"call_args": "(window,sdl_gl_context)",
|
"call_args": "(window,sdl_gl_context)",
|
||||||
"call_args_old": "(window,sdl_gl_context)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
|
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||||
@@ -869,7 +847,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForOther",
|
"cimguiname": "ImGui_ImplSDL2_InitForOther",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForOther",
|
"funcname": "ImGui_ImplSDL2_InitForOther",
|
||||||
@@ -895,7 +872,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
|
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
|
||||||
"call_args": "(window,renderer)",
|
"call_args": "(window,renderer)",
|
||||||
"call_args_old": "(window,renderer)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
||||||
@@ -917,7 +893,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_InitForVulkan",
|
"funcname": "ImGui_ImplSDL2_InitForVulkan",
|
||||||
@@ -934,7 +909,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_NewFrame",
|
"cimguiname": "ImGui_ImplSDL2_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_NewFrame",
|
"funcname": "ImGui_ImplSDL2_NewFrame",
|
||||||
@@ -956,7 +930,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(const SDL_Event* event)",
|
"argsoriginal": "(const SDL_Event* event)",
|
||||||
"call_args": "(event)",
|
"call_args": "(event)",
|
||||||
"call_args_old": "(event)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_ProcessEvent",
|
"funcname": "ImGui_ImplSDL2_ProcessEvent",
|
||||||
@@ -986,7 +959,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
"argsoriginal": "(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
||||||
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
||||||
"call_args_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
|
"cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"manual_gamepads_array": "nullptr",
|
"manual_gamepads_array": "nullptr",
|
||||||
@@ -1011,7 +983,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGui_ImplSDL2_MouseCaptureMode mode)",
|
"argsoriginal": "(ImGui_ImplSDL2_MouseCaptureMode mode)",
|
||||||
"call_args": "(mode)",
|
"call_args": "(mode)",
|
||||||
"call_args_old": "(mode)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
"cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
"funcname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||||
@@ -1028,7 +999,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplSDL2_Shutdown",
|
"cimguiname": "ImGui_ImplSDL2_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL2_Shutdown",
|
"funcname": "ImGui_ImplSDL2_Shutdown",
|
||||||
@@ -1050,7 +1020,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForD3D",
|
"funcname": "ImGui_ImplSDL3_InitForD3D",
|
||||||
@@ -1072,7 +1041,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForMetal",
|
"funcname": "ImGui_ImplSDL3_InitForMetal",
|
||||||
@@ -1098,7 +1066,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
|
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
|
||||||
"call_args": "(window,sdl_gl_context)",
|
"call_args": "(window,sdl_gl_context)",
|
||||||
"call_args_old": "(window,sdl_gl_context)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
|
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||||
@@ -1120,7 +1087,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForOther",
|
"cimguiname": "ImGui_ImplSDL3_InitForOther",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForOther",
|
"funcname": "ImGui_ImplSDL3_InitForOther",
|
||||||
@@ -1142,7 +1108,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
|
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
|
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
|
||||||
@@ -1168,7 +1133,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
|
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
|
||||||
"call_args": "(window,renderer)",
|
"call_args": "(window,renderer)",
|
||||||
"call_args_old": "(window,renderer)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||||
@@ -1190,7 +1154,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(SDL_Window* window)",
|
"argsoriginal": "(SDL_Window* window)",
|
||||||
"call_args": "(window)",
|
"call_args": "(window)",
|
||||||
"call_args_old": "(window)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_InitForVulkan",
|
"funcname": "ImGui_ImplSDL3_InitForVulkan",
|
||||||
@@ -1207,7 +1170,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_NewFrame",
|
"cimguiname": "ImGui_ImplSDL3_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_NewFrame",
|
"funcname": "ImGui_ImplSDL3_NewFrame",
|
||||||
@@ -1229,7 +1191,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(const SDL_Event* event)",
|
"argsoriginal": "(const SDL_Event* event)",
|
||||||
"call_args": "(event)",
|
"call_args": "(event)",
|
||||||
"call_args_old": "(event)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_ProcessEvent",
|
"funcname": "ImGui_ImplSDL3_ProcessEvent",
|
||||||
@@ -1259,7 +1220,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
"argsoriginal": "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
||||||
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
||||||
"call_args_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
|
"cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"manual_gamepads_array": "nullptr",
|
"manual_gamepads_array": "nullptr",
|
||||||
@@ -1284,7 +1244,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGui_ImplSDL3_MouseCaptureMode mode)",
|
"argsoriginal": "(ImGui_ImplSDL3_MouseCaptureMode mode)",
|
||||||
"call_args": "(mode)",
|
"call_args": "(mode)",
|
||||||
"call_args_old": "(mode)",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
"cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
"funcname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||||
@@ -1301,7 +1260,6 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplSDL3_Shutdown",
|
"cimguiname": "ImGui_ImplSDL3_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplSDL3_Shutdown",
|
"funcname": "ImGui_ImplSDL3_Shutdown",
|
||||||
@@ -1359,11 +1317,10 @@
|
|||||||
],
|
],
|
||||||
"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)",
|
"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)",
|
"call_args": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
|
||||||
"call_args_old": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
"location": "imgui_impl_vulkan:207",
|
"location": "imgui_impl_vulkan:212",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
"ret": "void",
|
"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,VkImageUsageFlags)",
|
||||||
@@ -1393,11 +1350,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||||
"call_args": "(instance,device,wd,allocator)",
|
"call_args": "(instance,device,wd,allocator)",
|
||||||
"call_args_old": "(instance,device,wd,allocator)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||||
"location": "imgui_impl_vulkan:208",
|
"location": "imgui_impl_vulkan:213",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||||
@@ -1415,11 +1371,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkPresentModeKHR present_mode)",
|
"argsoriginal": "(VkPresentModeKHR present_mode)",
|
||||||
"call_args": "(present_mode)",
|
"call_args": "(present_mode)",
|
||||||
"call_args_old": "(present_mode)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
"location": "imgui_impl_vulkan:213",
|
"location": "imgui_impl_vulkan:218",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
"ret": "int",
|
"ret": "int",
|
||||||
"signature": "(VkPresentModeKHR)",
|
"signature": "(VkPresentModeKHR)",
|
||||||
@@ -1437,11 +1392,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGuiViewport* viewport)",
|
"argsoriginal": "(ImGuiViewport* viewport)",
|
||||||
"call_args": "(viewport)",
|
"call_args": "(viewport)",
|
||||||
"call_args_old": "(viewport)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
"location": "imgui_impl_vulkan:214",
|
"location": "imgui_impl_vulkan:219",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
"ret": "ImGui_ImplVulkanH_Window*",
|
"ret": "ImGui_ImplVulkanH_Window*",
|
||||||
"signature": "(ImGuiViewport*)",
|
"signature": "(ImGuiViewport*)",
|
||||||
@@ -1459,11 +1413,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkInstance instance)",
|
"argsoriginal": "(VkInstance instance)",
|
||||||
"call_args": "(instance)",
|
"call_args": "(instance)",
|
||||||
"call_args_old": "(instance)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
"location": "imgui_impl_vulkan:211",
|
"location": "imgui_impl_vulkan:216",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
"ret": "VkPhysicalDevice",
|
"ret": "VkPhysicalDevice",
|
||||||
"signature": "(VkInstance)",
|
"signature": "(VkInstance)",
|
||||||
@@ -1493,11 +1446,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
|
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
|
||||||
"call_args": "(physical_device,surface,request_modes,request_modes_count)",
|
"call_args": "(physical_device,surface,request_modes,request_modes_count)",
|
||||||
"call_args_old": "(physical_device,surface,request_modes,request_modes_count)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
"location": "imgui_impl_vulkan:210",
|
"location": "imgui_impl_vulkan:215",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
"ret": "VkPresentModeKHR",
|
"ret": "VkPresentModeKHR",
|
||||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||||
@@ -1515,11 +1467,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkPhysicalDevice physical_device)",
|
"argsoriginal": "(VkPhysicalDevice physical_device)",
|
||||||
"call_args": "(physical_device)",
|
"call_args": "(physical_device)",
|
||||||
"call_args_old": "(physical_device)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
"location": "imgui_impl_vulkan:212",
|
"location": "imgui_impl_vulkan:217",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
"ret": "uint32_t",
|
"ret": "uint32_t",
|
||||||
"signature": "(VkPhysicalDevice)",
|
"signature": "(VkPhysicalDevice)",
|
||||||
@@ -1553,11 +1504,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
|
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
|
||||||
"call_args": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
"call_args": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
||||||
"call_args_old": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
"location": "imgui_impl_vulkan:209",
|
"location": "imgui_impl_vulkan:214",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
"ret": "VkSurfaceFormatKHR",
|
"ret": "VkSurfaceFormatKHR",
|
||||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||||
@@ -1570,12 +1520,12 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
"cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||||
"constructor": true,
|
"constructor": true,
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkanH_Window",
|
"funcname": "ImGui_ImplVulkanH_Window",
|
||||||
"location": "imgui_impl_vulkan:259",
|
"location": "imgui_impl_vulkan:264",
|
||||||
|
"namespace": "ImGui_ImplVulkanH_Window",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
"stname": "ImGui_ImplVulkanH_Window"
|
"stname": "ImGui_ImplVulkanH_Window"
|
||||||
@@ -1594,7 +1544,7 @@
|
|||||||
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"destructor": true,
|
"destructor": true,
|
||||||
"location": "imgui_impl_vulkan:259",
|
"location": "imgui_impl_vulkan:264",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(ImGui_ImplVulkanH_Window*)",
|
"signature": "(ImGui_ImplVulkanH_Window*)",
|
||||||
@@ -1603,12 +1553,8 @@
|
|||||||
],
|
],
|
||||||
"ImGui_ImplVulkan_AddTexture": [
|
"ImGui_ImplVulkan_AddTexture": [
|
||||||
{
|
{
|
||||||
"args": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
"args": "(VkImageView image_view,VkImageLayout image_layout)",
|
||||||
"argsT": [
|
"argsT": [
|
||||||
{
|
|
||||||
"name": "sampler",
|
|
||||||
"type": "VkSampler"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "image_view",
|
"name": "image_view",
|
||||||
"type": "VkImageView"
|
"type": "VkImageView"
|
||||||
@@ -1618,16 +1564,15 @@
|
|||||||
"type": "VkImageLayout"
|
"type": "VkImageLayout"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"argsoriginal": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
"argsoriginal": "(VkImageView image_view,VkImageLayout image_layout)",
|
||||||
"call_args": "(sampler,image_view,image_layout)",
|
"call_args": "(image_view,image_layout)",
|
||||||
"call_args_old": "(sampler,image_view,image_layout)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_AddTexture",
|
"funcname": "ImGui_ImplVulkan_AddTexture",
|
||||||
"location": "imgui_impl_vulkan:165",
|
"location": "imgui_impl_vulkan:165",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||||
"ret": "VkDescriptorSet",
|
"ret": "VkDescriptorSet",
|
||||||
"signature": "(VkSampler,VkImageView,VkImageLayout)",
|
"signature": "(VkImageView,VkImageLayout)",
|
||||||
"stname": ""
|
"stname": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1642,11 +1587,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(const ImGui_ImplVulkan_PipelineInfo* info)",
|
"argsoriginal": "(const ImGui_ImplVulkan_PipelineInfo* info)",
|
||||||
"call_args": "(info)",
|
"call_args": "(info)",
|
||||||
"call_args_old": "(info)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
|
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
"location": "imgui_impl_vulkan:157",
|
"location": "imgui_impl_vulkan:159",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
|
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||||
@@ -1664,11 +1608,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImGui_ImplVulkan_InitInfo* info)",
|
"argsoriginal": "(ImGui_ImplVulkan_InitInfo* info)",
|
||||||
"call_args": "(info)",
|
"call_args": "(info)",
|
||||||
"call_args_old": "(info)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_Init",
|
"cimguiname": "ImGui_ImplVulkan_Init",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_Init",
|
"funcname": "ImGui_ImplVulkan_Init",
|
||||||
"location": "imgui_impl_vulkan:148",
|
"location": "imgui_impl_vulkan:150",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
||||||
"ret": "bool",
|
"ret": "bool",
|
||||||
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
||||||
@@ -1694,13 +1637,12 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
|
"argsoriginal": "(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
|
||||||
"call_args": "(api_version,user_data),user_data)",
|
"call_args": "(api_version,user_data),user_data)",
|
||||||
"call_args_old": "(api_version,user_data),user_data)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
"cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"user_data": "nullptr"
|
"user_data": "nullptr"
|
||||||
},
|
},
|
||||||
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
||||||
"location": "imgui_impl_vulkan:170",
|
"location": "imgui_impl_vulkan:174",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||||
"ret": "bool",
|
"ret": "bool",
|
||||||
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||||
@@ -1713,11 +1655,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_NewFrame",
|
"funcname": "ImGui_ImplVulkan_NewFrame",
|
||||||
"location": "imgui_impl_vulkan:150",
|
"location": "imgui_impl_vulkan:152",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -1735,7 +1676,6 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(VkDescriptorSet descriptor_set)",
|
"argsoriginal": "(VkDescriptorSet descriptor_set)",
|
||||||
"call_args": "(descriptor_set)",
|
"call_args": "(descriptor_set)",
|
||||||
"call_args_old": "(descriptor_set)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
||||||
@@ -1765,13 +1705,12 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
|
"argsoriginal": "(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
|
||||||
"call_args": "(draw_data,command_buffer,pipeline)",
|
"call_args": "(draw_data,command_buffer,pipeline)",
|
||||||
"call_args_old": "(draw_data,command_buffer,pipeline)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
"cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"pipeline": "0ULL"
|
"pipeline": "0ULL"
|
||||||
},
|
},
|
||||||
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
||||||
"location": "imgui_impl_vulkan:151",
|
"location": "imgui_impl_vulkan:153",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||||
@@ -1789,11 +1728,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(uint32_t min_image_count)",
|
"argsoriginal": "(uint32_t min_image_count)",
|
||||||
"call_args": "(min_image_count)",
|
"call_args": "(min_image_count)",
|
||||||
"call_args_old": "(min_image_count)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||||
"location": "imgui_impl_vulkan:152",
|
"location": "imgui_impl_vulkan:154",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(uint32_t)",
|
"signature": "(uint32_t)",
|
||||||
@@ -1806,11 +1744,10 @@
|
|||||||
"argsT": [],
|
"argsT": [],
|
||||||
"argsoriginal": "()",
|
"argsoriginal": "()",
|
||||||
"call_args": "()",
|
"call_args": "()",
|
||||||
"call_args_old": "()",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_Shutdown",
|
"funcname": "ImGui_ImplVulkan_Shutdown",
|
||||||
"location": "imgui_impl_vulkan:149",
|
"location": "imgui_impl_vulkan:151",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "()",
|
"signature": "()",
|
||||||
@@ -1828,11 +1765,10 @@
|
|||||||
],
|
],
|
||||||
"argsoriginal": "(ImTextureData* tex)",
|
"argsoriginal": "(ImTextureData* tex)",
|
||||||
"call_args": "(tex)",
|
"call_args": "(tex)",
|
||||||
"call_args_old": "(tex)",
|
|
||||||
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||||
"defaults": {},
|
"defaults": {},
|
||||||
"funcname": "ImGui_ImplVulkan_UpdateTexture",
|
"funcname": "ImGui_ImplVulkan_UpdateTexture",
|
||||||
"location": "imgui_impl_vulkan:160",
|
"location": "imgui_impl_vulkan:162",
|
||||||
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||||
"ret": "void",
|
"ret": "void",
|
||||||
"signature": "(ImTextureData*)",
|
"signature": "(ImTextureData*)",
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ local t={
|
|||||||
type="unsigned int"}},
|
type="unsigned int"}},
|
||||||
argsoriginal="(GLFWwindow* window,unsigned int c)",
|
argsoriginal="(GLFWwindow* window,unsigned int c)",
|
||||||
call_args="(window,c)",
|
call_args="(window,c)",
|
||||||
call_args_old="(window,c)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_CharCallback",
|
cimguiname="ImGui_ImplGlfw_CharCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_CharCallback",
|
funcname="ImGui_ImplGlfw_CharCallback",
|
||||||
@@ -33,7 +32,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(GLFWwindow* window,int entered)",
|
argsoriginal="(GLFWwindow* window,int entered)",
|
||||||
call_args="(window,entered)",
|
call_args="(window,entered)",
|
||||||
call_args_old="(window,entered)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_CursorEnterCallback",
|
funcname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||||
@@ -58,7 +56,6 @@ local t={
|
|||||||
type="double"}},
|
type="double"}},
|
||||||
argsoriginal="(GLFWwindow* window,double x,double y)",
|
argsoriginal="(GLFWwindow* window,double x,double y)",
|
||||||
call_args="(window,x,y)",
|
call_args="(window,x,y)",
|
||||||
call_args_old="(window,x,y)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_CursorPosCallback",
|
funcname="ImGui_ImplGlfw_CursorPosCallback",
|
||||||
@@ -77,7 +74,6 @@ local t={
|
|||||||
type="GLFWmonitor*"}},
|
type="GLFWmonitor*"}},
|
||||||
argsoriginal="(GLFWmonitor* monitor)",
|
argsoriginal="(GLFWmonitor* monitor)",
|
||||||
call_args="(monitor)",
|
call_args="(monitor)",
|
||||||
call_args_old="(monitor)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||||
@@ -96,7 +92,6 @@ local t={
|
|||||||
type="GLFWwindow*"}},
|
type="GLFWwindow*"}},
|
||||||
argsoriginal="(GLFWwindow* window)",
|
argsoriginal="(GLFWwindow* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||||
@@ -118,7 +113,6 @@ local t={
|
|||||||
type="bool"}},
|
type="bool"}},
|
||||||
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
||||||
call_args="(window,install_callbacks)",
|
call_args="(window,install_callbacks)",
|
||||||
call_args_old="(window,install_callbacks)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_InitForOpenGL",
|
funcname="ImGui_ImplGlfw_InitForOpenGL",
|
||||||
@@ -140,7 +134,6 @@ local t={
|
|||||||
type="bool"}},
|
type="bool"}},
|
||||||
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
||||||
call_args="(window,install_callbacks)",
|
call_args="(window,install_callbacks)",
|
||||||
call_args_old="(window,install_callbacks)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_InitForOther",
|
cimguiname="ImGui_ImplGlfw_InitForOther",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_InitForOther",
|
funcname="ImGui_ImplGlfw_InitForOther",
|
||||||
@@ -162,7 +155,6 @@ local t={
|
|||||||
type="bool"}},
|
type="bool"}},
|
||||||
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
|
||||||
call_args="(window,install_callbacks)",
|
call_args="(window,install_callbacks)",
|
||||||
call_args_old="(window,install_callbacks)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_InitForVulkan",
|
funcname="ImGui_ImplGlfw_InitForVulkan",
|
||||||
@@ -181,7 +173,6 @@ local t={
|
|||||||
type="GLFWwindow*"}},
|
type="GLFWwindow*"}},
|
||||||
argsoriginal="(GLFWwindow* window)",
|
argsoriginal="(GLFWwindow* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_InstallCallbacks",
|
funcname="ImGui_ImplGlfw_InstallCallbacks",
|
||||||
@@ -212,7 +203,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(GLFWwindow* window,int key,int scancode,int action,int mods)",
|
argsoriginal="(GLFWwindow* window,int key,int scancode,int action,int mods)",
|
||||||
call_args="(window,key,scancode,action,mods)",
|
call_args="(window,key,scancode,action,mods)",
|
||||||
call_args_old="(window,key,scancode,action,mods)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_KeyCallback",
|
cimguiname="ImGui_ImplGlfw_KeyCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_KeyCallback",
|
funcname="ImGui_ImplGlfw_KeyCallback",
|
||||||
@@ -234,7 +224,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(GLFWmonitor* monitor,int event)",
|
argsoriginal="(GLFWmonitor* monitor,int event)",
|
||||||
call_args="(monitor,event)",
|
call_args="(monitor,event)",
|
||||||
call_args_old="(monitor,event)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_MonitorCallback",
|
funcname="ImGui_ImplGlfw_MonitorCallback",
|
||||||
@@ -262,7 +251,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(GLFWwindow* window,int button,int action,int mods)",
|
argsoriginal="(GLFWwindow* window,int button,int action,int mods)",
|
||||||
call_args="(window,button,action,mods)",
|
call_args="(window,button,action,mods)",
|
||||||
call_args_old="(window,button,action,mods)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_MouseButtonCallback",
|
funcname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||||
@@ -278,7 +266,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplGlfw_NewFrame",
|
cimguiname="ImGui_ImplGlfw_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_NewFrame",
|
funcname="ImGui_ImplGlfw_NewFrame",
|
||||||
@@ -297,7 +284,6 @@ local t={
|
|||||||
type="GLFWwindow*"}},
|
type="GLFWwindow*"}},
|
||||||
argsoriginal="(GLFWwindow* window)",
|
argsoriginal="(GLFWwindow* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_RestoreCallbacks",
|
funcname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||||
@@ -322,7 +308,6 @@ local t={
|
|||||||
type="double"}},
|
type="double"}},
|
||||||
argsoriginal="(GLFWwindow* window,double xoffset,double yoffset)",
|
argsoriginal="(GLFWwindow* window,double xoffset,double yoffset)",
|
||||||
call_args="(window,xoffset,yoffset)",
|
call_args="(window,xoffset,yoffset)",
|
||||||
call_args_old="(window,xoffset,yoffset)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_ScrollCallback",
|
funcname="ImGui_ImplGlfw_ScrollCallback",
|
||||||
@@ -341,7 +326,6 @@ local t={
|
|||||||
type="bool"}},
|
type="bool"}},
|
||||||
argsoriginal="(bool chain_for_all_windows)",
|
argsoriginal="(bool chain_for_all_windows)",
|
||||||
call_args="(chain_for_all_windows)",
|
call_args="(chain_for_all_windows)",
|
||||||
call_args_old="(chain_for_all_windows)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||||
@@ -357,7 +341,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplGlfw_Shutdown",
|
cimguiname="ImGui_ImplGlfw_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_Shutdown",
|
funcname="ImGui_ImplGlfw_Shutdown",
|
||||||
@@ -376,7 +359,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(int milliseconds)",
|
argsoriginal="(int milliseconds)",
|
||||||
call_args="(milliseconds)",
|
call_args="(milliseconds)",
|
||||||
call_args_old="(milliseconds)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_Sleep",
|
cimguiname="ImGui_ImplGlfw_Sleep",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_Sleep",
|
funcname="ImGui_ImplGlfw_Sleep",
|
||||||
@@ -398,7 +380,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(GLFWwindow* window,int focused)",
|
argsoriginal="(GLFWwindow* window,int focused)",
|
||||||
call_args="(window,focused)",
|
call_args="(window,focused)",
|
||||||
call_args_old="(window,focused)",
|
|
||||||
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplGlfw_WindowFocusCallback",
|
funcname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||||
@@ -414,11 +395,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
location="imgui_impl_opengl2:38",
|
location="imgui_impl_opengl2:39",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||||
ret="bool",
|
ret="bool",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -430,11 +410,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
location="imgui_impl_opengl2:39",
|
location="imgui_impl_opengl2:40",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -446,11 +425,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_Init",
|
cimguiname="ImGui_ImplOpenGL2_Init",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_Init",
|
funcname="ImGui_ImplOpenGL2_Init",
|
||||||
location="imgui_impl_opengl2:32",
|
location="imgui_impl_opengl2:33",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_Init",
|
ov_cimguiname="ImGui_ImplOpenGL2_Init",
|
||||||
ret="bool",
|
ret="bool",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -462,11 +440,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_NewFrame",
|
funcname="ImGui_ImplOpenGL2_NewFrame",
|
||||||
location="imgui_impl_opengl2:34",
|
location="imgui_impl_opengl2:35",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -481,11 +458,10 @@ local t={
|
|||||||
type="ImDrawData*"}},
|
type="ImDrawData*"}},
|
||||||
argsoriginal="(ImDrawData* draw_data)",
|
argsoriginal="(ImDrawData* draw_data)",
|
||||||
call_args="(draw_data)",
|
call_args="(draw_data)",
|
||||||
call_args_old="(draw_data)",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_RenderDrawData",
|
funcname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
location="imgui_impl_opengl2:35",
|
location="imgui_impl_opengl2:36",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(ImDrawData*)",
|
signature="(ImDrawData*)",
|
||||||
@@ -497,11 +473,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_Shutdown",
|
funcname="ImGui_ImplOpenGL2_Shutdown",
|
||||||
location="imgui_impl_opengl2:33",
|
location="imgui_impl_opengl2:34",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -516,11 +491,10 @@ local t={
|
|||||||
type="ImTextureData*"}},
|
type="ImTextureData*"}},
|
||||||
argsoriginal="(ImTextureData* tex)",
|
argsoriginal="(ImTextureData* tex)",
|
||||||
call_args="(tex)",
|
call_args="(tex)",
|
||||||
call_args_old="(tex)",
|
|
||||||
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL2_UpdateTexture",
|
funcname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
location="imgui_impl_opengl2:42",
|
location="imgui_impl_opengl2:43",
|
||||||
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(ImTextureData*)",
|
signature="(ImTextureData*)",
|
||||||
@@ -532,7 +506,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||||
@@ -548,7 +521,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||||
@@ -558,6 +530,21 @@ local t={
|
|||||||
signature="()",
|
signature="()",
|
||||||
stname=""},
|
stname=""},
|
||||||
["()"]=nil},
|
["()"]=nil},
|
||||||
|
ImGui_ImplOpenGL3_GetRenderState={
|
||||||
|
[1]={
|
||||||
|
args="()",
|
||||||
|
argsT={},
|
||||||
|
argsoriginal="()",
|
||||||
|
call_args="()",
|
||||||
|
cimguiname="ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
defaults={},
|
||||||
|
funcname="ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
location="imgui_impl_opengl3:80",
|
||||||
|
ov_cimguiname="ImGui_ImplOpenGL3_GetRenderState",
|
||||||
|
ret="ImGui_ImplOpenGL3_RenderState*",
|
||||||
|
signature="()",
|
||||||
|
stname=""},
|
||||||
|
["()"]=nil},
|
||||||
ImGui_ImplOpenGL3_Init={
|
ImGui_ImplOpenGL3_Init={
|
||||||
[1]={
|
[1]={
|
||||||
args="(const char* glsl_version)",
|
args="(const char* glsl_version)",
|
||||||
@@ -567,7 +554,6 @@ local t={
|
|||||||
type="const char*"}},
|
type="const char*"}},
|
||||||
argsoriginal="(const char* glsl_version=nullptr)",
|
argsoriginal="(const char* glsl_version=nullptr)",
|
||||||
call_args="(glsl_version)",
|
call_args="(glsl_version)",
|
||||||
call_args_old="(glsl_version)",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_Init",
|
cimguiname="ImGui_ImplOpenGL3_Init",
|
||||||
defaults={
|
defaults={
|
||||||
glsl_version="nullptr"},
|
glsl_version="nullptr"},
|
||||||
@@ -584,7 +570,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_NewFrame",
|
funcname="ImGui_ImplOpenGL3_NewFrame",
|
||||||
@@ -603,7 +588,6 @@ local t={
|
|||||||
type="ImDrawData*"}},
|
type="ImDrawData*"}},
|
||||||
argsoriginal="(ImDrawData* draw_data)",
|
argsoriginal="(ImDrawData* draw_data)",
|
||||||
call_args="(draw_data)",
|
call_args="(draw_data)",
|
||||||
call_args_old="(draw_data)",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_RenderDrawData",
|
funcname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||||
@@ -619,7 +603,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_Shutdown",
|
funcname="ImGui_ImplOpenGL3_Shutdown",
|
||||||
@@ -638,7 +621,6 @@ local t={
|
|||||||
type="ImTextureData*"}},
|
type="ImTextureData*"}},
|
||||||
argsoriginal="(ImTextureData* tex)",
|
argsoriginal="(ImTextureData* tex)",
|
||||||
call_args="(tex)",
|
call_args="(tex)",
|
||||||
call_args_old="(tex)",
|
|
||||||
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
|
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplOpenGL3_UpdateTexture",
|
funcname="ImGui_ImplOpenGL3_UpdateTexture",
|
||||||
@@ -657,7 +639,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(int display_index)",
|
argsoriginal="(int display_index)",
|
||||||
call_args="(display_index)",
|
call_args="(display_index)",
|
||||||
call_args_old="(display_index)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||||
@@ -676,7 +657,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||||
@@ -695,7 +675,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForD3D",
|
cimguiname="ImGui_ImplSDL2_InitForD3D",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForD3D",
|
funcname="ImGui_ImplSDL2_InitForD3D",
|
||||||
@@ -714,7 +693,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForMetal",
|
cimguiname="ImGui_ImplSDL2_InitForMetal",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForMetal",
|
funcname="ImGui_ImplSDL2_InitForMetal",
|
||||||
@@ -736,7 +714,6 @@ local t={
|
|||||||
type="void*"}},
|
type="void*"}},
|
||||||
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
|
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
|
||||||
call_args="(window,sdl_gl_context)",
|
call_args="(window,sdl_gl_context)",
|
||||||
call_args_old="(window,sdl_gl_context)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
|
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForOpenGL",
|
funcname="ImGui_ImplSDL2_InitForOpenGL",
|
||||||
@@ -755,7 +732,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForOther",
|
cimguiname="ImGui_ImplSDL2_InitForOther",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForOther",
|
funcname="ImGui_ImplSDL2_InitForOther",
|
||||||
@@ -777,7 +753,6 @@ local t={
|
|||||||
type="SDL_Renderer*"}},
|
type="SDL_Renderer*"}},
|
||||||
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
|
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
|
||||||
call_args="(window,renderer)",
|
call_args="(window,renderer)",
|
||||||
call_args_old="(window,renderer)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
|
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
|
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
|
||||||
@@ -796,7 +771,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_InitForVulkan",
|
cimguiname="ImGui_ImplSDL2_InitForVulkan",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_InitForVulkan",
|
funcname="ImGui_ImplSDL2_InitForVulkan",
|
||||||
@@ -812,7 +786,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplSDL2_NewFrame",
|
cimguiname="ImGui_ImplSDL2_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_NewFrame",
|
funcname="ImGui_ImplSDL2_NewFrame",
|
||||||
@@ -831,7 +804,6 @@ local t={
|
|||||||
type="const SDL_Event*"}},
|
type="const SDL_Event*"}},
|
||||||
argsoriginal="(const SDL_Event* event)",
|
argsoriginal="(const SDL_Event* event)",
|
||||||
call_args="(event)",
|
call_args="(event)",
|
||||||
call_args_old="(event)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_ProcessEvent",
|
cimguiname="ImGui_ImplSDL2_ProcessEvent",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_ProcessEvent",
|
funcname="ImGui_ImplSDL2_ProcessEvent",
|
||||||
@@ -856,7 +828,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
argsoriginal="(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
||||||
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
|
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
|
||||||
call_args_old="(mode,manual_gamepads_array,manual_gamepads_count)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_SetGamepadMode",
|
cimguiname="ImGui_ImplSDL2_SetGamepadMode",
|
||||||
defaults={
|
defaults={
|
||||||
manual_gamepads_array="nullptr",
|
manual_gamepads_array="nullptr",
|
||||||
@@ -877,7 +848,6 @@ local t={
|
|||||||
type="ImGui_ImplSDL2_MouseCaptureMode"}},
|
type="ImGui_ImplSDL2_MouseCaptureMode"}},
|
||||||
argsoriginal="(ImGui_ImplSDL2_MouseCaptureMode mode)",
|
argsoriginal="(ImGui_ImplSDL2_MouseCaptureMode mode)",
|
||||||
call_args="(mode)",
|
call_args="(mode)",
|
||||||
call_args_old="(mode)",
|
|
||||||
cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
funcname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||||
@@ -893,7 +863,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplSDL2_Shutdown",
|
cimguiname="ImGui_ImplSDL2_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL2_Shutdown",
|
funcname="ImGui_ImplSDL2_Shutdown",
|
||||||
@@ -912,7 +881,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForD3D",
|
cimguiname="ImGui_ImplSDL3_InitForD3D",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForD3D",
|
funcname="ImGui_ImplSDL3_InitForD3D",
|
||||||
@@ -931,7 +899,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForMetal",
|
cimguiname="ImGui_ImplSDL3_InitForMetal",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForMetal",
|
funcname="ImGui_ImplSDL3_InitForMetal",
|
||||||
@@ -953,7 +920,6 @@ local t={
|
|||||||
type="void*"}},
|
type="void*"}},
|
||||||
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
|
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
|
||||||
call_args="(window,sdl_gl_context)",
|
call_args="(window,sdl_gl_context)",
|
||||||
call_args_old="(window,sdl_gl_context)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
|
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForOpenGL",
|
funcname="ImGui_ImplSDL3_InitForOpenGL",
|
||||||
@@ -972,7 +938,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForOther",
|
cimguiname="ImGui_ImplSDL3_InitForOther",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForOther",
|
funcname="ImGui_ImplSDL3_InitForOther",
|
||||||
@@ -991,7 +956,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
|
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForSDLGPU",
|
funcname="ImGui_ImplSDL3_InitForSDLGPU",
|
||||||
@@ -1013,7 +977,6 @@ local t={
|
|||||||
type="SDL_Renderer*"}},
|
type="SDL_Renderer*"}},
|
||||||
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
|
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
|
||||||
call_args="(window,renderer)",
|
call_args="(window,renderer)",
|
||||||
call_args_old="(window,renderer)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
|
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
|
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
|
||||||
@@ -1032,7 +995,6 @@ local t={
|
|||||||
type="SDL_Window*"}},
|
type="SDL_Window*"}},
|
||||||
argsoriginal="(SDL_Window* window)",
|
argsoriginal="(SDL_Window* window)",
|
||||||
call_args="(window)",
|
call_args="(window)",
|
||||||
call_args_old="(window)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_InitForVulkan",
|
cimguiname="ImGui_ImplSDL3_InitForVulkan",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_InitForVulkan",
|
funcname="ImGui_ImplSDL3_InitForVulkan",
|
||||||
@@ -1048,7 +1010,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplSDL3_NewFrame",
|
cimguiname="ImGui_ImplSDL3_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_NewFrame",
|
funcname="ImGui_ImplSDL3_NewFrame",
|
||||||
@@ -1067,7 +1028,6 @@ local t={
|
|||||||
type="const SDL_Event*"}},
|
type="const SDL_Event*"}},
|
||||||
argsoriginal="(const SDL_Event* event)",
|
argsoriginal="(const SDL_Event* event)",
|
||||||
call_args="(event)",
|
call_args="(event)",
|
||||||
call_args_old="(event)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_ProcessEvent",
|
cimguiname="ImGui_ImplSDL3_ProcessEvent",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_ProcessEvent",
|
funcname="ImGui_ImplSDL3_ProcessEvent",
|
||||||
@@ -1092,7 +1052,6 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
argsoriginal="(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
|
||||||
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
|
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
|
||||||
call_args_old="(mode,manual_gamepads_array,manual_gamepads_count)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_SetGamepadMode",
|
cimguiname="ImGui_ImplSDL3_SetGamepadMode",
|
||||||
defaults={
|
defaults={
|
||||||
manual_gamepads_array="nullptr",
|
manual_gamepads_array="nullptr",
|
||||||
@@ -1113,7 +1072,6 @@ local t={
|
|||||||
type="ImGui_ImplSDL3_MouseCaptureMode"}},
|
type="ImGui_ImplSDL3_MouseCaptureMode"}},
|
||||||
argsoriginal="(ImGui_ImplSDL3_MouseCaptureMode mode)",
|
argsoriginal="(ImGui_ImplSDL3_MouseCaptureMode mode)",
|
||||||
call_args="(mode)",
|
call_args="(mode)",
|
||||||
call_args_old="(mode)",
|
|
||||||
cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
funcname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||||
@@ -1129,7 +1087,6 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplSDL3_Shutdown",
|
cimguiname="ImGui_ImplSDL3_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplSDL3_Shutdown",
|
funcname="ImGui_ImplSDL3_Shutdown",
|
||||||
@@ -1175,11 +1132,10 @@ local t={
|
|||||||
type="VkImageUsageFlags"}},
|
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)",
|
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)",
|
call_args="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
|
||||||
call_args_old="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
location="imgui_impl_vulkan:207",
|
location="imgui_impl_vulkan:212",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||||
ret="void",
|
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,VkImageUsageFlags)",
|
||||||
@@ -1203,11 +1159,10 @@ local t={
|
|||||||
type="const VkAllocationCallbacks*"}},
|
type="const VkAllocationCallbacks*"}},
|
||||||
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||||
call_args="(instance,device,wd,allocator)",
|
call_args="(instance,device,wd,allocator)",
|
||||||
call_args_old="(instance,device,wd,allocator)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
||||||
location="imgui_impl_vulkan:208",
|
location="imgui_impl_vulkan:213",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||||
@@ -1222,11 +1177,10 @@ local t={
|
|||||||
type="VkPresentModeKHR"}},
|
type="VkPresentModeKHR"}},
|
||||||
argsoriginal="(VkPresentModeKHR present_mode)",
|
argsoriginal="(VkPresentModeKHR present_mode)",
|
||||||
call_args="(present_mode)",
|
call_args="(present_mode)",
|
||||||
call_args_old="(present_mode)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
location="imgui_impl_vulkan:213",
|
location="imgui_impl_vulkan:218",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||||
ret="int",
|
ret="int",
|
||||||
signature="(VkPresentModeKHR)",
|
signature="(VkPresentModeKHR)",
|
||||||
@@ -1241,11 +1195,10 @@ local t={
|
|||||||
type="ImGuiViewport*"}},
|
type="ImGuiViewport*"}},
|
||||||
argsoriginal="(ImGuiViewport* viewport)",
|
argsoriginal="(ImGuiViewport* viewport)",
|
||||||
call_args="(viewport)",
|
call_args="(viewport)",
|
||||||
call_args_old="(viewport)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
location="imgui_impl_vulkan:214",
|
location="imgui_impl_vulkan:219",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||||
ret="ImGui_ImplVulkanH_Window*",
|
ret="ImGui_ImplVulkanH_Window*",
|
||||||
signature="(ImGuiViewport*)",
|
signature="(ImGuiViewport*)",
|
||||||
@@ -1260,11 +1213,10 @@ local t={
|
|||||||
type="VkInstance"}},
|
type="VkInstance"}},
|
||||||
argsoriginal="(VkInstance instance)",
|
argsoriginal="(VkInstance instance)",
|
||||||
call_args="(instance)",
|
call_args="(instance)",
|
||||||
call_args_old="(instance)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
location="imgui_impl_vulkan:211",
|
location="imgui_impl_vulkan:216",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||||
ret="VkPhysicalDevice",
|
ret="VkPhysicalDevice",
|
||||||
signature="(VkInstance)",
|
signature="(VkInstance)",
|
||||||
@@ -1288,11 +1240,10 @@ local t={
|
|||||||
type="int"}},
|
type="int"}},
|
||||||
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
|
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
|
||||||
call_args="(physical_device,surface,request_modes,request_modes_count)",
|
call_args="(physical_device,surface,request_modes,request_modes_count)",
|
||||||
call_args_old="(physical_device,surface,request_modes,request_modes_count)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
location="imgui_impl_vulkan:210",
|
location="imgui_impl_vulkan:215",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||||
ret="VkPresentModeKHR",
|
ret="VkPresentModeKHR",
|
||||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||||
@@ -1307,11 +1258,10 @@ local t={
|
|||||||
type="VkPhysicalDevice"}},
|
type="VkPhysicalDevice"}},
|
||||||
argsoriginal="(VkPhysicalDevice physical_device)",
|
argsoriginal="(VkPhysicalDevice physical_device)",
|
||||||
call_args="(physical_device)",
|
call_args="(physical_device)",
|
||||||
call_args_old="(physical_device)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
location="imgui_impl_vulkan:212",
|
location="imgui_impl_vulkan:217",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||||
ret="uint32_t",
|
ret="uint32_t",
|
||||||
signature="(VkPhysicalDevice)",
|
signature="(VkPhysicalDevice)",
|
||||||
@@ -1338,11 +1288,10 @@ local t={
|
|||||||
type="VkColorSpaceKHR"}},
|
type="VkColorSpaceKHR"}},
|
||||||
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
|
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
|
||||||
call_args="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
call_args="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
||||||
call_args_old="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
location="imgui_impl_vulkan:209",
|
location="imgui_impl_vulkan:214",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||||
ret="VkSurfaceFormatKHR",
|
ret="VkSurfaceFormatKHR",
|
||||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||||
@@ -1354,12 +1303,12 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||||
constructor=true,
|
constructor=true,
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkanH_Window",
|
funcname="ImGui_ImplVulkanH_Window",
|
||||||
location="imgui_impl_vulkan:259",
|
location="imgui_impl_vulkan:264",
|
||||||
|
namespace="ImGui_ImplVulkanH_Window",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||||
signature="()",
|
signature="()",
|
||||||
stname="ImGui_ImplVulkanH_Window"},
|
stname="ImGui_ImplVulkanH_Window"},
|
||||||
@@ -1375,7 +1324,7 @@ local t={
|
|||||||
cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||||
defaults={},
|
defaults={},
|
||||||
destructor=true,
|
destructor=true,
|
||||||
location="imgui_impl_vulkan:259",
|
location="imgui_impl_vulkan:264",
|
||||||
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(ImGui_ImplVulkanH_Window*)",
|
signature="(ImGui_ImplVulkanH_Window*)",
|
||||||
@@ -1383,29 +1332,25 @@ local t={
|
|||||||
["(ImGui_ImplVulkanH_Window*)"]=nil},
|
["(ImGui_ImplVulkanH_Window*)"]=nil},
|
||||||
ImGui_ImplVulkan_AddTexture={
|
ImGui_ImplVulkan_AddTexture={
|
||||||
[1]={
|
[1]={
|
||||||
args="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
args="(VkImageView image_view,VkImageLayout image_layout)",
|
||||||
argsT={
|
argsT={
|
||||||
[1]={
|
[1]={
|
||||||
name="sampler",
|
|
||||||
type="VkSampler"},
|
|
||||||
[2]={
|
|
||||||
name="image_view",
|
name="image_view",
|
||||||
type="VkImageView"},
|
type="VkImageView"},
|
||||||
[3]={
|
[2]={
|
||||||
name="image_layout",
|
name="image_layout",
|
||||||
type="VkImageLayout"}},
|
type="VkImageLayout"}},
|
||||||
argsoriginal="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
argsoriginal="(VkImageView image_view,VkImageLayout image_layout)",
|
||||||
call_args="(sampler,image_view,image_layout)",
|
call_args="(image_view,image_layout)",
|
||||||
call_args_old="(sampler,image_view,image_layout)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_AddTexture",
|
cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_AddTexture",
|
funcname="ImGui_ImplVulkan_AddTexture",
|
||||||
location="imgui_impl_vulkan:165",
|
location="imgui_impl_vulkan:165",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||||
ret="VkDescriptorSet",
|
ret="VkDescriptorSet",
|
||||||
signature="(VkSampler,VkImageView,VkImageLayout)",
|
signature="(VkImageView,VkImageLayout)",
|
||||||
stname=""},
|
stname=""},
|
||||||
["(VkSampler,VkImageView,VkImageLayout)"]=nil},
|
["(VkImageView,VkImageLayout)"]=nil},
|
||||||
ImGui_ImplVulkan_CreateMainPipeline={
|
ImGui_ImplVulkan_CreateMainPipeline={
|
||||||
[1]={
|
[1]={
|
||||||
args="(const ImGui_ImplVulkan_PipelineInfo* info)",
|
args="(const ImGui_ImplVulkan_PipelineInfo* info)",
|
||||||
@@ -1415,11 +1360,10 @@ local t={
|
|||||||
type="const ImGui_ImplVulkan_PipelineInfo*"}},
|
type="const ImGui_ImplVulkan_PipelineInfo*"}},
|
||||||
argsoriginal="(const ImGui_ImplVulkan_PipelineInfo* info)",
|
argsoriginal="(const ImGui_ImplVulkan_PipelineInfo* info)",
|
||||||
call_args="(info)",
|
call_args="(info)",
|
||||||
call_args_old="(info)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_CreateMainPipeline",
|
funcname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
location="imgui_impl_vulkan:157",
|
location="imgui_impl_vulkan:159",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
|
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||||
@@ -1434,11 +1378,10 @@ local t={
|
|||||||
type="ImGui_ImplVulkan_InitInfo*"}},
|
type="ImGui_ImplVulkan_InitInfo*"}},
|
||||||
argsoriginal="(ImGui_ImplVulkan_InitInfo* info)",
|
argsoriginal="(ImGui_ImplVulkan_InitInfo* info)",
|
||||||
call_args="(info)",
|
call_args="(info)",
|
||||||
call_args_old="(info)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_Init",
|
cimguiname="ImGui_ImplVulkan_Init",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_Init",
|
funcname="ImGui_ImplVulkan_Init",
|
||||||
location="imgui_impl_vulkan:148",
|
location="imgui_impl_vulkan:150",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_Init",
|
ov_cimguiname="ImGui_ImplVulkan_Init",
|
||||||
ret="bool",
|
ret="bool",
|
||||||
signature="(ImGui_ImplVulkan_InitInfo*)",
|
signature="(ImGui_ImplVulkan_InitInfo*)",
|
||||||
@@ -1459,12 +1402,11 @@ local t={
|
|||||||
type="void*"}},
|
type="void*"}},
|
||||||
argsoriginal="(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
|
argsoriginal="(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
|
||||||
call_args="(api_version,user_data),user_data)",
|
call_args="(api_version,user_data),user_data)",
|
||||||
call_args_old="(api_version,user_data),user_data)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||||
defaults={
|
defaults={
|
||||||
user_data="nullptr"},
|
user_data="nullptr"},
|
||||||
funcname="ImGui_ImplVulkan_LoadFunctions",
|
funcname="ImGui_ImplVulkan_LoadFunctions",
|
||||||
location="imgui_impl_vulkan:170",
|
location="imgui_impl_vulkan:174",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||||
ret="bool",
|
ret="bool",
|
||||||
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||||
@@ -1476,11 +1418,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplVulkan_NewFrame",
|
cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_NewFrame",
|
funcname="ImGui_ImplVulkan_NewFrame",
|
||||||
location="imgui_impl_vulkan:150",
|
location="imgui_impl_vulkan:152",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -1495,7 +1436,6 @@ local t={
|
|||||||
type="VkDescriptorSet"}},
|
type="VkDescriptorSet"}},
|
||||||
argsoriginal="(VkDescriptorSet descriptor_set)",
|
argsoriginal="(VkDescriptorSet descriptor_set)",
|
||||||
call_args="(descriptor_set)",
|
call_args="(descriptor_set)",
|
||||||
call_args_old="(descriptor_set)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_RemoveTexture",
|
funcname="ImGui_ImplVulkan_RemoveTexture",
|
||||||
@@ -1520,12 +1460,11 @@ local t={
|
|||||||
type="VkPipeline"}},
|
type="VkPipeline"}},
|
||||||
argsoriginal="(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
|
argsoriginal="(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
|
||||||
call_args="(draw_data,command_buffer,pipeline)",
|
call_args="(draw_data,command_buffer,pipeline)",
|
||||||
call_args_old="(draw_data,command_buffer,pipeline)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||||
defaults={
|
defaults={
|
||||||
pipeline="0ULL"},
|
pipeline="0ULL"},
|
||||||
funcname="ImGui_ImplVulkan_RenderDrawData",
|
funcname="ImGui_ImplVulkan_RenderDrawData",
|
||||||
location="imgui_impl_vulkan:151",
|
location="imgui_impl_vulkan:153",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||||
@@ -1540,11 +1479,10 @@ local t={
|
|||||||
type="uint32_t"}},
|
type="uint32_t"}},
|
||||||
argsoriginal="(uint32_t min_image_count)",
|
argsoriginal="(uint32_t min_image_count)",
|
||||||
call_args="(min_image_count)",
|
call_args="(min_image_count)",
|
||||||
call_args_old="(min_image_count)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
||||||
location="imgui_impl_vulkan:152",
|
location="imgui_impl_vulkan:154",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(uint32_t)",
|
signature="(uint32_t)",
|
||||||
@@ -1556,11 +1494,10 @@ local t={
|
|||||||
argsT={},
|
argsT={},
|
||||||
argsoriginal="()",
|
argsoriginal="()",
|
||||||
call_args="()",
|
call_args="()",
|
||||||
call_args_old="()",
|
|
||||||
cimguiname="ImGui_ImplVulkan_Shutdown",
|
cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_Shutdown",
|
funcname="ImGui_ImplVulkan_Shutdown",
|
||||||
location="imgui_impl_vulkan:149",
|
location="imgui_impl_vulkan:151",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="()",
|
signature="()",
|
||||||
@@ -1575,11 +1512,10 @@ local t={
|
|||||||
type="ImTextureData*"}},
|
type="ImTextureData*"}},
|
||||||
argsoriginal="(ImTextureData* tex)",
|
argsoriginal="(ImTextureData* tex)",
|
||||||
call_args="(tex)",
|
call_args="(tex)",
|
||||||
call_args_old="(tex)",
|
|
||||||
cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||||
defaults={},
|
defaults={},
|
||||||
funcname="ImGui_ImplVulkan_UpdateTexture",
|
funcname="ImGui_ImplVulkan_UpdateTexture",
|
||||||
location="imgui_impl_vulkan:160",
|
location="imgui_impl_vulkan:162",
|
||||||
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||||
ret="void",
|
ret="void",
|
||||||
signature="(ImTextureData*)",
|
signature="(ImTextureData*)",
|
||||||
@@ -1613,6 +1549,7 @@ t.ImGui_ImplOpenGL2_Shutdown["()"]=t.ImGui_ImplOpenGL2_Shutdown[1]
|
|||||||
t.ImGui_ImplOpenGL2_UpdateTexture["(ImTextureData*)"]=t.ImGui_ImplOpenGL2_UpdateTexture[1]
|
t.ImGui_ImplOpenGL2_UpdateTexture["(ImTextureData*)"]=t.ImGui_ImplOpenGL2_UpdateTexture[1]
|
||||||
t.ImGui_ImplOpenGL3_CreateDeviceObjects["()"]=t.ImGui_ImplOpenGL3_CreateDeviceObjects[1]
|
t.ImGui_ImplOpenGL3_CreateDeviceObjects["()"]=t.ImGui_ImplOpenGL3_CreateDeviceObjects[1]
|
||||||
t.ImGui_ImplOpenGL3_DestroyDeviceObjects["()"]=t.ImGui_ImplOpenGL3_DestroyDeviceObjects[1]
|
t.ImGui_ImplOpenGL3_DestroyDeviceObjects["()"]=t.ImGui_ImplOpenGL3_DestroyDeviceObjects[1]
|
||||||
|
t.ImGui_ImplOpenGL3_GetRenderState["()"]=t.ImGui_ImplOpenGL3_GetRenderState[1]
|
||||||
t.ImGui_ImplOpenGL3_Init["(const char*)"]=t.ImGui_ImplOpenGL3_Init[1]
|
t.ImGui_ImplOpenGL3_Init["(const char*)"]=t.ImGui_ImplOpenGL3_Init[1]
|
||||||
t.ImGui_ImplOpenGL3_NewFrame["()"]=t.ImGui_ImplOpenGL3_NewFrame[1]
|
t.ImGui_ImplOpenGL3_NewFrame["()"]=t.ImGui_ImplOpenGL3_NewFrame[1]
|
||||||
t.ImGui_ImplOpenGL3_RenderDrawData["(ImDrawData*)"]=t.ImGui_ImplOpenGL3_RenderDrawData[1]
|
t.ImGui_ImplOpenGL3_RenderDrawData["(ImDrawData*)"]=t.ImGui_ImplOpenGL3_RenderDrawData[1]
|
||||||
@@ -1653,7 +1590,7 @@ t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVul
|
|||||||
t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)"]=t.ImGui_ImplVulkanH_SelectSurfaceFormat[1]
|
t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)"]=t.ImGui_ImplVulkanH_SelectSurfaceFormat[1]
|
||||||
t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window["()"]=t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window[1]
|
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_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_AddTexture["(VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1]
|
||||||
t.ImGui_ImplVulkan_CreateMainPipeline["(const ImGui_ImplVulkan_PipelineInfo*)"]=t.ImGui_ImplVulkan_CreateMainPipeline[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_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_LoadFunctions["(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)"]=t.ImGui_ImplVulkan_LoadFunctions[1]
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ ImColor_ImColor 5
|
|||||||
ImDrawList_AddText 2
|
ImDrawList_AddText 2
|
||||||
1 void ImDrawList_AddText_Vec2 (const ImVec2,ImU32,const char*,const char*)
|
1 void ImDrawList_AddText_Vec2 (const ImVec2,ImU32,const char*,const char*)
|
||||||
2 void ImDrawList_AddText_FontPtr (ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
|
2 void ImDrawList_AddText_FontPtr (ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
|
||||||
|
ImGuiPackedDate_ImGuiPackedDate 2
|
||||||
|
1 nil ImGuiPackedDate_ImGuiPackedDate_Nil ()
|
||||||
|
2 nil ImGuiPackedDate_ImGuiPackedDate_Int (int)
|
||||||
ImGuiPtrOrIndex_ImGuiPtrOrIndex 2
|
ImGuiPtrOrIndex_ImGuiPtrOrIndex 2
|
||||||
1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr (void*)
|
1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr (void*)
|
||||||
2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int (int)
|
2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int (int)
|
||||||
@@ -213,8 +216,8 @@ igMenuItem 2
|
|||||||
1 bool igMenuItem_Bool (const char*,const char*,bool,bool)
|
1 bool igMenuItem_Bool (const char*,const char*,bool,bool)
|
||||||
2 bool igMenuItem_BoolPtr (const char*,const char*,bool*,bool)
|
2 bool igMenuItem_BoolPtr (const char*,const char*,bool*,bool)
|
||||||
igOpenPopup 2
|
igOpenPopup 2
|
||||||
1 void igOpenPopup_Str (const char*,ImGuiPopupFlags)
|
1 bool igOpenPopup_Str (const char*,ImGuiPopupFlags)
|
||||||
2 void igOpenPopup_ID (ImGuiID,ImGuiPopupFlags)
|
2 bool igOpenPopup_ID (ImGuiID,ImGuiPopupFlags)
|
||||||
igPlotHistogram 2
|
igPlotHistogram 2
|
||||||
1 void igPlotHistogram_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
1 void igPlotHistogram_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||||
2 void igPlotHistogram_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
2 void igPlotHistogram_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||||
@@ -239,8 +242,8 @@ igSelectable 2
|
|||||||
1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
|
1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
|
||||||
2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
|
2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
|
||||||
igSetItemKeyOwner 2
|
igSetItemKeyOwner 2
|
||||||
1 void igSetItemKeyOwner_Nil (ImGuiKey)
|
1 bool igSetItemKeyOwner_Nil (ImGuiKey)
|
||||||
2 void igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags)
|
2 bool igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags)
|
||||||
igSetScrollFromPosX 2
|
igSetScrollFromPosX 2
|
||||||
1 void igSetScrollFromPosX_Float (float,float)
|
1 void igSetScrollFromPosX_Float (float,float)
|
||||||
2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float)
|
2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float)
|
||||||
@@ -305,4 +308,4 @@ igValue 4
|
|||||||
2 void igValue_Int (const char*,int)
|
2 void igValue_Int (const char*,int)
|
||||||
3 void igValue_Uint (const char*,unsigned int)
|
3 void igValue_Uint (const char*,unsigned int)
|
||||||
4 void igValue_Float (const char*,float,const char*)
|
4 void igValue_Float (const char*,float,const char*)
|
||||||
213 overloaded
|
215 overloaded
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,7 @@
|
|||||||
"ImGuiContext": "struct ImGuiContext",
|
"ImGuiContext": "struct ImGuiContext",
|
||||||
"ImGuiContextHook": "struct ImGuiContextHook",
|
"ImGuiContextHook": "struct ImGuiContextHook",
|
||||||
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
||||||
"ImGuiDataAuthority": "int",
|
"ImGuiDataAuthority": "unsigned int",
|
||||||
"ImGuiDataType": "int",
|
"ImGuiDataType": "int",
|
||||||
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
||||||
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
|
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
|
||||||
@@ -57,6 +57,7 @@
|
|||||||
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
||||||
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
|
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
|
||||||
"ImGuiDebugLogFlags": "int",
|
"ImGuiDebugLogFlags": "int",
|
||||||
|
"ImGuiDemoMarkerCallback": "void (*)(const char* file, int line, const char* section);",
|
||||||
"ImGuiDockContext": "struct ImGuiDockContext",
|
"ImGuiDockContext": "struct ImGuiDockContext",
|
||||||
"ImGuiDockNode": "struct ImGuiDockNode",
|
"ImGuiDockNode": "struct ImGuiDockNode",
|
||||||
"ImGuiDockNodeFlags": "int",
|
"ImGuiDockNodeFlags": "int",
|
||||||
@@ -126,6 +127,7 @@
|
|||||||
"ImGuiOldColumnFlags": "int",
|
"ImGuiOldColumnFlags": "int",
|
||||||
"ImGuiOldColumns": "struct ImGuiOldColumns",
|
"ImGuiOldColumns": "struct ImGuiOldColumns",
|
||||||
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
|
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
|
||||||
|
"ImGuiPackedDate": "struct ImGuiPackedDate",
|
||||||
"ImGuiPayload": "struct ImGuiPayload",
|
"ImGuiPayload": "struct ImGuiPayload",
|
||||||
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
|
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
|
||||||
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
|
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
|
||||||
@@ -140,6 +142,7 @@
|
|||||||
"ImGuiSelectionRequest": "struct ImGuiSelectionRequest",
|
"ImGuiSelectionRequest": "struct ImGuiSelectionRequest",
|
||||||
"ImGuiSelectionUserData": "ImS64",
|
"ImGuiSelectionUserData": "ImS64",
|
||||||
"ImGuiSeparatorFlags": "int",
|
"ImGuiSeparatorFlags": "int",
|
||||||
|
"ImGuiSettingsCleanupArgs": "struct ImGuiSettingsCleanupArgs",
|
||||||
"ImGuiSettingsHandler": "struct ImGuiSettingsHandler",
|
"ImGuiSettingsHandler": "struct ImGuiSettingsHandler",
|
||||||
"ImGuiShrinkWidthItem": "struct ImGuiShrinkWidthItem",
|
"ImGuiShrinkWidthItem": "struct ImGuiShrinkWidthItem",
|
||||||
"ImGuiSizeCallback": "void (*)(ImGuiSizeCallbackData* data);",
|
"ImGuiSizeCallback": "void (*)(ImGuiSizeCallbackData* data);",
|
||||||
@@ -169,6 +172,7 @@
|
|||||||
"ImGuiTableFlags": "int",
|
"ImGuiTableFlags": "int",
|
||||||
"ImGuiTableHeaderData": "struct ImGuiTableHeaderData",
|
"ImGuiTableHeaderData": "struct ImGuiTableHeaderData",
|
||||||
"ImGuiTableInstanceData": "struct ImGuiTableInstanceData",
|
"ImGuiTableInstanceData": "struct ImGuiTableInstanceData",
|
||||||
|
"ImGuiTableReconcileColumnData": "struct ImGuiTableReconcileColumnData",
|
||||||
"ImGuiTableRowFlags": "int",
|
"ImGuiTableRowFlags": "int",
|
||||||
"ImGuiTableSettings": "struct ImGuiTableSettings",
|
"ImGuiTableSettings": "struct ImGuiTableSettings",
|
||||||
"ImGuiTableSortSpecs": "struct ImGuiTableSortSpecs",
|
"ImGuiTableSortSpecs": "struct ImGuiTableSortSpecs",
|
||||||
@@ -220,6 +224,9 @@
|
|||||||
"ImWchar16": "unsigned short",
|
"ImWchar16": "unsigned short",
|
||||||
"ImWchar32": "unsigned int",
|
"ImWchar32": "unsigned int",
|
||||||
"STB_TexteditState": "struct STB_TexteditState",
|
"STB_TexteditState": "struct STB_TexteditState",
|
||||||
|
"StbTexteditRow": "struct StbTexteditRow",
|
||||||
|
"StbUndoRecord": "struct StbUndoRecord",
|
||||||
|
"StbUndoState": "struct StbUndoState",
|
||||||
"stbrp_context_opaque": "struct stbrp_context_opaque",
|
"stbrp_context_opaque": "struct stbrp_context_opaque",
|
||||||
"stbrp_node": "struct stbrp_node",
|
"stbrp_node": "struct stbrp_node",
|
||||||
"stbrp_node_im": "stbrp_node"
|
"stbrp_node_im": "stbrp_node"
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ local t={
|
|||||||
ImGuiContext="struct ImGuiContext",
|
ImGuiContext="struct ImGuiContext",
|
||||||
ImGuiContextHook="struct ImGuiContextHook",
|
ImGuiContextHook="struct ImGuiContextHook",
|
||||||
ImGuiContextHookCallback="void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
ImGuiContextHookCallback="void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
||||||
ImGuiDataAuthority="int",
|
ImGuiDataAuthority="unsigned int",
|
||||||
ImGuiDataType="int",
|
ImGuiDataType="int",
|
||||||
ImGuiDataTypeInfo="struct ImGuiDataTypeInfo",
|
ImGuiDataTypeInfo="struct ImGuiDataTypeInfo",
|
||||||
ImGuiDataTypeStorage="struct ImGuiDataTypeStorage",
|
ImGuiDataTypeStorage="struct ImGuiDataTypeStorage",
|
||||||
@@ -57,6 +57,7 @@ local t={
|
|||||||
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
|
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
|
||||||
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
|
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
|
||||||
ImGuiDebugLogFlags="int",
|
ImGuiDebugLogFlags="int",
|
||||||
|
ImGuiDemoMarkerCallback="void (*)(const char* file, int line, const char* section);",
|
||||||
ImGuiDockContext="struct ImGuiDockContext",
|
ImGuiDockContext="struct ImGuiDockContext",
|
||||||
ImGuiDockNode="struct ImGuiDockNode",
|
ImGuiDockNode="struct ImGuiDockNode",
|
||||||
ImGuiDockNodeFlags="int",
|
ImGuiDockNodeFlags="int",
|
||||||
@@ -126,6 +127,7 @@ local t={
|
|||||||
ImGuiOldColumnFlags="int",
|
ImGuiOldColumnFlags="int",
|
||||||
ImGuiOldColumns="struct ImGuiOldColumns",
|
ImGuiOldColumns="struct ImGuiOldColumns",
|
||||||
ImGuiOnceUponAFrame="struct ImGuiOnceUponAFrame",
|
ImGuiOnceUponAFrame="struct ImGuiOnceUponAFrame",
|
||||||
|
ImGuiPackedDate="struct ImGuiPackedDate",
|
||||||
ImGuiPayload="struct ImGuiPayload",
|
ImGuiPayload="struct ImGuiPayload",
|
||||||
ImGuiPlatformIO="struct ImGuiPlatformIO",
|
ImGuiPlatformIO="struct ImGuiPlatformIO",
|
||||||
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
|
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
|
||||||
@@ -140,6 +142,7 @@ local t={
|
|||||||
ImGuiSelectionRequest="struct ImGuiSelectionRequest",
|
ImGuiSelectionRequest="struct ImGuiSelectionRequest",
|
||||||
ImGuiSelectionUserData="ImS64",
|
ImGuiSelectionUserData="ImS64",
|
||||||
ImGuiSeparatorFlags="int",
|
ImGuiSeparatorFlags="int",
|
||||||
|
ImGuiSettingsCleanupArgs="struct ImGuiSettingsCleanupArgs",
|
||||||
ImGuiSettingsHandler="struct ImGuiSettingsHandler",
|
ImGuiSettingsHandler="struct ImGuiSettingsHandler",
|
||||||
ImGuiShrinkWidthItem="struct ImGuiShrinkWidthItem",
|
ImGuiShrinkWidthItem="struct ImGuiShrinkWidthItem",
|
||||||
ImGuiSizeCallback="void (*)(ImGuiSizeCallbackData* data);",
|
ImGuiSizeCallback="void (*)(ImGuiSizeCallbackData* data);",
|
||||||
@@ -169,6 +172,7 @@ local t={
|
|||||||
ImGuiTableFlags="int",
|
ImGuiTableFlags="int",
|
||||||
ImGuiTableHeaderData="struct ImGuiTableHeaderData",
|
ImGuiTableHeaderData="struct ImGuiTableHeaderData",
|
||||||
ImGuiTableInstanceData="struct ImGuiTableInstanceData",
|
ImGuiTableInstanceData="struct ImGuiTableInstanceData",
|
||||||
|
ImGuiTableReconcileColumnData="struct ImGuiTableReconcileColumnData",
|
||||||
ImGuiTableRowFlags="int",
|
ImGuiTableRowFlags="int",
|
||||||
ImGuiTableSettings="struct ImGuiTableSettings",
|
ImGuiTableSettings="struct ImGuiTableSettings",
|
||||||
ImGuiTableSortSpecs="struct ImGuiTableSortSpecs",
|
ImGuiTableSortSpecs="struct ImGuiTableSortSpecs",
|
||||||
@@ -220,6 +224,9 @@ local t={
|
|||||||
ImWchar16="unsigned short",
|
ImWchar16="unsigned short",
|
||||||
ImWchar32="unsigned int",
|
ImWchar32="unsigned int",
|
||||||
STB_TexteditState="struct STB_TexteditState",
|
STB_TexteditState="struct STB_TexteditState",
|
||||||
|
StbTexteditRow="struct StbTexteditRow",
|
||||||
|
StbUndoRecord="struct StbUndoRecord",
|
||||||
|
StbUndoState="struct StbUndoState",
|
||||||
stbrp_context_opaque="struct stbrp_context_opaque",
|
stbrp_context_opaque="struct stbrp_context_opaque",
|
||||||
stbrp_node="struct stbrp_node",
|
stbrp_node="struct stbrp_node",
|
||||||
stbrp_node_im="stbrp_node"}
|
stbrp_node_im="stbrp_node"}
|
||||||
|
|||||||
2
imgui
2
imgui
Submodule imgui updated: 2a1b69f057...b48d1afbe8
Reference in New Issue
Block a user