Compare commits

..

3 Commits

Author SHA1 Message Date
sonoro1234
794f63b480 cpp2ffi: gen_structs_c only used C types 2025-11-09 13:37:06 +01:00
sonoro1234
34550586d4 cpp2ffi: hide genConversors and gen_structs_c 2025-11-09 12:15:04 +01:00
sonoro1234
3c9eda8f1f cpp2ffi:keep call_args_old 2025-11-09 11:37:28 +01:00
8 changed files with 3303 additions and 24 deletions

View File

@@ -3818,24 +3818,16 @@ struct SDL_Window;
typedef union SDL_Event SDL_Event;
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef struct ImColor_c ImColor;
typedef struct ImRect_c ImRect;
typedef struct ImTextureRef_c ImTextureRef;
typedef struct ImVec2_c ImVec2;
typedef struct ImVec2i_c ImVec2i;
typedef struct ImVec4_c ImVec4;
typedef struct ImColor_c ImColor;
typedef struct ImRect_c ImRect;
#endif
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef struct ImColor_c ImColor_c;
struct ImColor_c {
ImVec4 Value;
};
typedef struct ImRect_c ImRect_c;
struct ImRect_c {
ImVec2 Min;
ImVec2 Max;
};
typedef struct ImTextureRef_c ImTextureRef_c;
struct ImTextureRef_c {
ImTextureData* _TexData;
@@ -3858,8 +3850,16 @@ struct ImVec4_c {
float z;
float w;
};
typedef struct ImColor_c ImColor_c;
struct ImColor_c {
ImVec4_c Value;
};
typedef struct ImRect_c ImRect_c;
struct ImRect_c {
ImVec2_c Min;
ImVec2_c Max;
};
#endif
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange;
typedef ImStb::STB_TexteditState STB_TexteditState;

View File

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

View File

@@ -1103,22 +1103,53 @@ local function get_nonPOD(FP)
FP.structs_and_enums_table.nonPOD = nonPOD
return nonPOD
end
M.get_nonPOD = get_nonPOD
local function recur_calc_depth(FP, structs, k,n)
local struct = structs[k]
local n1 = n
for i,field in ipairs(struct) do
local typ = field.type:gsub("const ","")
typ = typ:gsub("*","")
if FP.nP_used[typ] then
n1 = math.max(n1,recur_calc_depth(FP, structs, typ,n+1))
end
end
return n1
end
local function gen_structs_c(FP)
local structs = FP.structs_and_enums_table.structs
--sort nP_used by dependencies and name
nP_used_sorted = {}
for k,v in pairs(FP.nP_used) do
nP_used_sorted[k] = recur_calc_depth(FP, structs, k, 1)
end
--M.prtable(nP_used_sorted)
local npsorted ={}
for k,n in pairs(nP_used_sorted) do insert(npsorted,k) end
table.sort(npsorted, function(a,b) return (nP_used_sorted[a] < nP_used_sorted[b]) or ((nP_used_sorted[a] == nP_used_sorted[b]) and (a<b)) end)
--M.prtable(npsorted)
--error"DEUG"
----------
local tabs = {}
local tabs_c = {}
--for k,v in pairs(FP.nP_used) do
M.table_do_sorted(FP.nP_used, function(k,v)
--M.table_do_sorted(FP.nP_used, function(k,v)
for _,k in ipairs(npsorted) do
insert(tabs,"typedef struct "..k.."_c "..k.."_c;")
insert(tabs_c,"typedef struct "..k.."_c "..k..";")
insert(tabs,"struct "..k.."_c {")
local struct = structs[k]
for i,field in ipairs(struct) do
insert(tabs," "..field.type.." "..field.name..";")
local typ = field.type:gsub("const ","")
typ = typ:gsub("*","")
if FP.nP_used[typ] then
local ftype = field.type:gsub(typ,typ.."_c")
insert(tabs," "..ftype.." "..field.name..";")
else
insert(tabs," "..field.type.." "..field.name..";")
end
end
insert(tabs,"};")
end)
end --)
if #tabs > 0 then
insert(tabs,1,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS")
insert(tabs,"#endif")
@@ -1289,6 +1320,7 @@ local function ADDnonUDT(FP)
caar = "()"
asp = "()"
end
def.call_args_old = def.call_args
def.call_args = caar
def.args = asp
end
@@ -2989,7 +3021,9 @@ local function func_implementation(FP)
end
until true
end
return table.concat(outtab)
local conversors = FP:genConversors()
local cimplem = conversors .. table.concat(outtab)
return cimplem
end
M.func_implementation = func_implementation
@@ -3085,7 +3119,7 @@ M.func_header_generate_funcs = func_header_generate_funcs
local function func_header_generate(FP)
local outtab = func_header_generate_structs(FP)
table.insert(outtab, 1, "#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
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)
@@ -3094,7 +3128,8 @@ local function func_header_generate(FP)
--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
local structs_c = FP:gen_structs_c()
return structs_c..cfuncsstr
end
M.func_header_generate = func_header_generate

View File

@@ -278,7 +278,7 @@ local function cimgui_generation(parser)
local hstrfile = read_data"./cimgui_template.h"
hstrfile = hstrfile:gsub([[PLACE_STRUCTS_C]],parser:gen_structs_c())
--hstrfile = hstrfile:gsub([[PLACE_STRUCTS_C]],parser:gen_structs_c())
local outpre,outpost = parser.structs_and_enums[1],parser.structs_and_enums[2]
cpp2ffi.prtable(parser.templates)
@@ -323,9 +323,6 @@ local function cimgui_generation(parser)
cimplem = colapse_defines(cimplem, "IMGUI_ENABLE_FREETYPE")
local hstrfile = read_data"./cimgui_template.cpp"
local conversors = parser:genConversors()
cimplem = conversors .. cimplem
hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem)
local ftdef = "" --FREETYPE_GENERATION and "#define IMGUI_ENABLE_FREETYPE\n" or ""
save_data("./output/cimgui.cpp",cimgui_header, ftdef, hstrfile)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -14,6 +14,7 @@
],
"argsoriginal": "(GLFWwindow* window,unsigned int c)",
"call_args": "(window,c)",
"call_args_old": "(window,c)",
"cimguiname": "ImGui_ImplGlfw_CharCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CharCallback",
@@ -39,6 +40,7 @@
],
"argsoriginal": "(GLFWwindow* window,int entered)",
"call_args": "(window,entered)",
"call_args_old": "(window,entered)",
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
@@ -68,6 +70,7 @@
],
"argsoriginal": "(GLFWwindow* window,double x,double y)",
"call_args": "(window,x,y)",
"call_args_old": "(window,x,y)",
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
@@ -89,6 +92,7 @@
],
"argsoriginal": "(GLFWmonitor* monitor)",
"call_args": "(monitor)",
"call_args_old": "(monitor)",
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
@@ -110,6 +114,7 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
@@ -135,6 +140,7 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
@@ -160,6 +166,7 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOther",
@@ -185,6 +192,7 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForVulkan",
@@ -206,6 +214,7 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
@@ -243,6 +252,7 @@
],
"argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)",
"call_args": "(window,key,scancode,action,mods)",
"call_args_old": "(window,key,scancode,action,mods)",
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_KeyCallback",
@@ -268,6 +278,7 @@
],
"argsoriginal": "(GLFWmonitor* monitor,int event)",
"call_args": "(monitor,event)",
"call_args_old": "(monitor,event)",
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MonitorCallback",
@@ -301,6 +312,7 @@
],
"argsoriginal": "(GLFWwindow* window,int button,int action,int mods)",
"call_args": "(window,button,action,mods)",
"call_args_old": "(window,button,action,mods)",
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
@@ -317,6 +329,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplGlfw_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplGlfw_NewFrame",
@@ -338,6 +351,7 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
@@ -367,6 +381,7 @@
],
"argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)",
"call_args": "(window,xoffset,yoffset)",
"call_args_old": "(window,xoffset,yoffset)",
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_ScrollCallback",
@@ -388,6 +403,7 @@
],
"argsoriginal": "(bool chain_for_all_windows)",
"call_args": "(chain_for_all_windows)",
"call_args_old": "(chain_for_all_windows)",
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"defaults": {},
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
@@ -404,6 +420,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplGlfw_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Shutdown",
@@ -425,6 +442,7 @@
],
"argsoriginal": "(int milliseconds)",
"call_args": "(milliseconds)",
"call_args_old": "(milliseconds)",
"cimguiname": "ImGui_ImplGlfw_Sleep",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Sleep",
@@ -450,6 +468,7 @@
],
"argsoriginal": "(GLFWwindow* window,int focused)",
"call_args": "(window,focused)",
"call_args_old": "(window,focused)",
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
@@ -466,6 +485,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
@@ -482,6 +502,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
@@ -498,6 +519,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_Init",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Init",
@@ -514,6 +536,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_NewFrame",
@@ -535,6 +558,7 @@
],
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"call_args_old": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
@@ -551,6 +575,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Shutdown",
@@ -572,6 +597,7 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
@@ -588,6 +614,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
@@ -604,6 +631,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
@@ -625,6 +653,7 @@
],
"argsoriginal": "(const char* glsl_version=nullptr)",
"call_args": "(glsl_version)",
"call_args_old": "(glsl_version)",
"cimguiname": "ImGui_ImplOpenGL3_Init",
"defaults": {
"glsl_version": "nullptr"
@@ -643,6 +672,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_NewFrame",
@@ -664,6 +694,7 @@
],
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"call_args_old": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
@@ -680,6 +711,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_Shutdown",
@@ -701,6 +733,7 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
@@ -722,6 +755,7 @@
],
"argsoriginal": "(int display_index)",
"call_args": "(display_index)",
"call_args_old": "(display_index)",
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
@@ -743,6 +777,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
@@ -764,6 +799,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForD3D",
@@ -785,6 +821,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForMetal",
@@ -810,6 +847,7 @@
],
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
"call_args": "(window,sdl_gl_context)",
"call_args_old": "(window,sdl_gl_context)",
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
@@ -831,6 +869,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOther",
@@ -856,6 +895,7 @@
],
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
"call_args": "(window,renderer)",
"call_args_old": "(window,renderer)",
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
@@ -877,6 +917,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForVulkan",
@@ -893,6 +934,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL2_NewFrame",
@@ -914,6 +956,7 @@
],
"argsoriginal": "(const SDL_Event* event)",
"call_args": "(event)",
"call_args_old": "(event)",
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL2_ProcessEvent",
@@ -943,6 +986,7 @@
],
"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_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
"cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
"defaults": {
"manual_gamepads_array": "nullptr",
@@ -962,6 +1006,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL2_Shutdown",
@@ -983,6 +1028,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForD3D",
@@ -1004,6 +1050,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForMetal",
@@ -1029,6 +1076,7 @@
],
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
"call_args": "(window,sdl_gl_context)",
"call_args_old": "(window,sdl_gl_context)",
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
@@ -1050,6 +1098,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOther",
@@ -1071,6 +1120,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
@@ -1096,6 +1146,7 @@
],
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
"call_args": "(window,renderer)",
"call_args_old": "(window,renderer)",
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
@@ -1117,6 +1168,7 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForVulkan",
@@ -1133,6 +1185,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL3_NewFrame",
@@ -1154,6 +1207,7 @@
],
"argsoriginal": "(const SDL_Event* event)",
"call_args": "(event)",
"call_args_old": "(event)",
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL3_ProcessEvent",
@@ -1183,6 +1237,7 @@
],
"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_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
"cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
"defaults": {
"manual_gamepads_array": "nullptr",
@@ -1202,6 +1257,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL3_Shutdown",
@@ -1259,6 +1315,7 @@
],
"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_old": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
@@ -1292,6 +1349,7 @@
],
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
"call_args": "(instance,device,wd,allocator)",
"call_args_old": "(instance,device,wd,allocator)",
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
@@ -1313,6 +1371,7 @@
],
"argsoriginal": "(VkPresentModeKHR present_mode)",
"call_args": "(present_mode)",
"call_args_old": "(present_mode)",
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
@@ -1334,6 +1393,7 @@
],
"argsoriginal": "(ImGuiViewport* viewport)",
"call_args": "(viewport)",
"call_args_old": "(viewport)",
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
@@ -1355,6 +1415,7 @@
],
"argsoriginal": "(VkInstance instance)",
"call_args": "(instance)",
"call_args_old": "(instance)",
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
@@ -1388,6 +1449,7 @@
],
"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_old": "(physical_device,surface,request_modes,request_modes_count)",
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
@@ -1409,6 +1471,7 @@
],
"argsoriginal": "(VkPhysicalDevice physical_device)",
"call_args": "(physical_device)",
"call_args_old": "(physical_device)",
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
@@ -1446,6 +1509,7 @@
],
"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_old": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
@@ -1462,6 +1526,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"constructor": true,
"defaults": {},
@@ -1511,6 +1576,7 @@
],
"argsoriginal": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
"call_args": "(sampler,image_view,image_layout)",
"call_args_old": "(sampler,image_view,image_layout)",
"cimguiname": "ImGui_ImplVulkan_AddTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_AddTexture",
@@ -1532,6 +1598,7 @@
],
"argsoriginal": "(const ImGui_ImplVulkan_PipelineInfo* info)",
"call_args": "(info)",
"call_args_old": "(info)",
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"defaults": {},
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
@@ -1553,6 +1620,7 @@
],
"argsoriginal": "(ImGui_ImplVulkan_InitInfo* info)",
"call_args": "(info)",
"call_args_old": "(info)",
"cimguiname": "ImGui_ImplVulkan_Init",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Init",
@@ -1582,6 +1650,7 @@
],
"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_old": "(api_version,user_data),user_data)",
"cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"defaults": {
"user_data": "nullptr"
@@ -1600,6 +1669,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkan_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplVulkan_NewFrame",
@@ -1621,6 +1691,7 @@
],
"argsoriginal": "(VkDescriptorSet descriptor_set)",
"call_args": "(descriptor_set)",
"call_args_old": "(descriptor_set)",
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_RemoveTexture",
@@ -1650,6 +1721,7 @@
],
"argsoriginal": "(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
"call_args": "(draw_data,command_buffer,pipeline)",
"call_args_old": "(draw_data,command_buffer,pipeline)",
"cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"defaults": {
"pipeline": "0ULL"
@@ -1673,6 +1745,7 @@
],
"argsoriginal": "(uint32_t min_image_count)",
"call_args": "(min_image_count)",
"call_args_old": "(min_image_count)",
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"defaults": {},
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
@@ -1689,6 +1762,7 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkan_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Shutdown",
@@ -1710,6 +1784,7 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_UpdateTexture",

View File

@@ -11,6 +11,7 @@ local t={
type="unsigned int"}},
argsoriginal="(GLFWwindow* window,unsigned int c)",
call_args="(window,c)",
call_args_old="(window,c)",
cimguiname="ImGui_ImplGlfw_CharCallback",
defaults={},
funcname="ImGui_ImplGlfw_CharCallback",
@@ -32,6 +33,7 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int entered)",
call_args="(window,entered)",
call_args_old="(window,entered)",
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorEnterCallback",
@@ -56,6 +58,7 @@ local t={
type="double"}},
argsoriginal="(GLFWwindow* window,double x,double y)",
call_args="(window,x,y)",
call_args_old="(window,x,y)",
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorPosCallback",
@@ -74,6 +77,7 @@ local t={
type="GLFWmonitor*"}},
argsoriginal="(GLFWmonitor* monitor)",
call_args="(monitor)",
call_args_old="(monitor)",
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
@@ -92,6 +96,7 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
@@ -113,6 +118,7 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
defaults={},
funcname="ImGui_ImplGlfw_InitForOpenGL",
@@ -134,6 +140,7 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForOther",
defaults={},
funcname="ImGui_ImplGlfw_InitForOther",
@@ -155,6 +162,7 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForVulkan",
defaults={},
funcname="ImGui_ImplGlfw_InitForVulkan",
@@ -173,6 +181,7 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_InstallCallbacks",
@@ -203,6 +212,7 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int key,int scancode,int action,int mods)",
call_args="(window,key,scancode,action,mods)",
call_args_old="(window,key,scancode,action,mods)",
cimguiname="ImGui_ImplGlfw_KeyCallback",
defaults={},
funcname="ImGui_ImplGlfw_KeyCallback",
@@ -224,6 +234,7 @@ local t={
type="int"}},
argsoriginal="(GLFWmonitor* monitor,int event)",
call_args="(monitor,event)",
call_args_old="(monitor,event)",
cimguiname="ImGui_ImplGlfw_MonitorCallback",
defaults={},
funcname="ImGui_ImplGlfw_MonitorCallback",
@@ -251,6 +262,7 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int button,int action,int mods)",
call_args="(window,button,action,mods)",
call_args_old="(window,button,action,mods)",
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
defaults={},
funcname="ImGui_ImplGlfw_MouseButtonCallback",
@@ -266,6 +278,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplGlfw_NewFrame",
defaults={},
funcname="ImGui_ImplGlfw_NewFrame",
@@ -284,6 +297,7 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_RestoreCallbacks",
@@ -308,6 +322,7 @@ local t={
type="double"}},
argsoriginal="(GLFWwindow* window,double xoffset,double yoffset)",
call_args="(window,xoffset,yoffset)",
call_args_old="(window,xoffset,yoffset)",
cimguiname="ImGui_ImplGlfw_ScrollCallback",
defaults={},
funcname="ImGui_ImplGlfw_ScrollCallback",
@@ -326,6 +341,7 @@ local t={
type="bool"}},
argsoriginal="(bool chain_for_all_windows)",
call_args="(chain_for_all_windows)",
call_args_old="(chain_for_all_windows)",
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
defaults={},
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
@@ -341,6 +357,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplGlfw_Shutdown",
defaults={},
funcname="ImGui_ImplGlfw_Shutdown",
@@ -359,6 +376,7 @@ local t={
type="int"}},
argsoriginal="(int milliseconds)",
call_args="(milliseconds)",
call_args_old="(milliseconds)",
cimguiname="ImGui_ImplGlfw_Sleep",
defaults={},
funcname="ImGui_ImplGlfw_Sleep",
@@ -380,6 +398,7 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int focused)",
call_args="(window,focused)",
call_args_old="(window,focused)",
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
defaults={},
funcname="ImGui_ImplGlfw_WindowFocusCallback",
@@ -395,6 +414,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
@@ -410,6 +430,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
@@ -425,6 +446,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_Init",
defaults={},
funcname="ImGui_ImplOpenGL2_Init",
@@ -440,6 +462,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL2_NewFrame",
@@ -458,6 +481,7 @@ local t={
type="ImDrawData*"}},
argsoriginal="(ImDrawData* draw_data)",
call_args="(draw_data)",
call_args_old="(draw_data)",
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL2_RenderDrawData",
@@ -473,6 +497,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL2_Shutdown",
@@ -491,6 +516,7 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL2_UpdateTexture",
@@ -506,6 +532,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
@@ -521,6 +548,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
@@ -539,6 +567,7 @@ local t={
type="const char*"}},
argsoriginal="(const char* glsl_version=nullptr)",
call_args="(glsl_version)",
call_args_old="(glsl_version)",
cimguiname="ImGui_ImplOpenGL3_Init",
defaults={
glsl_version="nullptr"},
@@ -555,6 +584,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL3_NewFrame",
@@ -573,6 +603,7 @@ local t={
type="ImDrawData*"}},
argsoriginal="(ImDrawData* draw_data)",
call_args="(draw_data)",
call_args_old="(draw_data)",
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL3_RenderDrawData",
@@ -588,6 +619,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL3_Shutdown",
@@ -606,6 +638,7 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL3_UpdateTexture",
@@ -624,6 +657,7 @@ local t={
type="int"}},
argsoriginal="(int display_index)",
call_args="(display_index)",
call_args_old="(display_index)",
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
@@ -642,6 +676,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
@@ -660,6 +695,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL2_InitForD3D",
@@ -678,6 +714,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL2_InitForMetal",
@@ -699,6 +736,7 @@ local t={
type="void*"}},
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
call_args="(window,sdl_gl_context)",
call_args_old="(window,sdl_gl_context)",
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL2_InitForOpenGL",
@@ -717,6 +755,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForOther",
defaults={},
funcname="ImGui_ImplSDL2_InitForOther",
@@ -738,6 +777,7 @@ local t={
type="SDL_Renderer*"}},
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
call_args="(window,renderer)",
call_args_old="(window,renderer)",
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
@@ -756,6 +796,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL2_InitForVulkan",
@@ -771,6 +812,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL2_NewFrame",
defaults={},
funcname="ImGui_ImplSDL2_NewFrame",
@@ -789,6 +831,7 @@ local t={
type="const SDL_Event*"}},
argsoriginal="(const SDL_Event* event)",
call_args="(event)",
call_args_old="(event)",
cimguiname="ImGui_ImplSDL2_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL2_ProcessEvent",
@@ -813,6 +856,7 @@ local t={
type="int"}},
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_old="(mode,manual_gamepads_array,manual_gamepads_count)",
cimguiname="ImGui_ImplSDL2_SetGamepadMode",
defaults={
manual_gamepads_array="nullptr",
@@ -830,6 +874,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL2_Shutdown",
defaults={},
funcname="ImGui_ImplSDL2_Shutdown",
@@ -848,6 +893,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL3_InitForD3D",
@@ -866,6 +912,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL3_InitForMetal",
@@ -887,6 +934,7 @@ local t={
type="void*"}},
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
call_args="(window,sdl_gl_context)",
call_args_old="(window,sdl_gl_context)",
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL3_InitForOpenGL",
@@ -905,6 +953,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForOther",
defaults={},
funcname="ImGui_ImplSDL3_InitForOther",
@@ -923,6 +972,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLGPU",
@@ -944,6 +994,7 @@ local t={
type="SDL_Renderer*"}},
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
call_args="(window,renderer)",
call_args_old="(window,renderer)",
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
@@ -962,6 +1013,7 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL3_InitForVulkan",
@@ -977,6 +1029,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL3_NewFrame",
defaults={},
funcname="ImGui_ImplSDL3_NewFrame",
@@ -995,6 +1048,7 @@ local t={
type="const SDL_Event*"}},
argsoriginal="(const SDL_Event* event)",
call_args="(event)",
call_args_old="(event)",
cimguiname="ImGui_ImplSDL3_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL3_ProcessEvent",
@@ -1019,6 +1073,7 @@ local t={
type="int"}},
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_old="(mode,manual_gamepads_array,manual_gamepads_count)",
cimguiname="ImGui_ImplSDL3_SetGamepadMode",
defaults={
manual_gamepads_array="nullptr",
@@ -1036,6 +1091,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL3_Shutdown",
defaults={},
funcname="ImGui_ImplSDL3_Shutdown",
@@ -1081,6 +1137,7 @@ local t={
type="VkImageUsageFlags"}},
argsoriginal="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage)",
call_args="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
call_args_old="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
defaults={},
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
@@ -1108,6 +1165,7 @@ local t={
type="const VkAllocationCallbacks*"}},
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
call_args="(instance,device,wd,allocator)",
call_args_old="(instance,device,wd,allocator)",
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
defaults={},
funcname="ImGui_ImplVulkanH_DestroyWindow",
@@ -1126,6 +1184,7 @@ local t={
type="VkPresentModeKHR"}},
argsoriginal="(VkPresentModeKHR present_mode)",
call_args="(present_mode)",
call_args_old="(present_mode)",
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
@@ -1144,6 +1203,7 @@ local t={
type="ImGuiViewport*"}},
argsoriginal="(ImGuiViewport* viewport)",
call_args="(viewport)",
call_args_old="(viewport)",
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
defaults={},
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
@@ -1162,6 +1222,7 @@ local t={
type="VkInstance"}},
argsoriginal="(VkInstance instance)",
call_args="(instance)",
call_args_old="(instance)",
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
@@ -1189,6 +1250,7 @@ local t={
type="int"}},
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_old="(physical_device,surface,request_modes,request_modes_count)",
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPresentMode",
@@ -1207,6 +1269,7 @@ local t={
type="VkPhysicalDevice"}},
argsoriginal="(VkPhysicalDevice physical_device)",
call_args="(physical_device)",
call_args_old="(physical_device)",
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
defaults={},
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
@@ -1237,6 +1300,7 @@ local t={
type="VkColorSpaceKHR"}},
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_old="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
defaults={},
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
@@ -1252,6 +1316,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
constructor=true,
defaults={},
@@ -1293,6 +1358,7 @@ local t={
type="VkImageLayout"}},
argsoriginal="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
call_args="(sampler,image_view,image_layout)",
call_args_old="(sampler,image_view,image_layout)",
cimguiname="ImGui_ImplVulkan_AddTexture",
defaults={},
funcname="ImGui_ImplVulkan_AddTexture",
@@ -1311,6 +1377,7 @@ local t={
type="const ImGui_ImplVulkan_PipelineInfo*"}},
argsoriginal="(const ImGui_ImplVulkan_PipelineInfo* info)",
call_args="(info)",
call_args_old="(info)",
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
defaults={},
funcname="ImGui_ImplVulkan_CreateMainPipeline",
@@ -1329,6 +1396,7 @@ local t={
type="ImGui_ImplVulkan_InitInfo*"}},
argsoriginal="(ImGui_ImplVulkan_InitInfo* info)",
call_args="(info)",
call_args_old="(info)",
cimguiname="ImGui_ImplVulkan_Init",
defaults={},
funcname="ImGui_ImplVulkan_Init",
@@ -1353,6 +1421,7 @@ local t={
type="void*"}},
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_old="(api_version,user_data),user_data)",
cimguiname="ImGui_ImplVulkan_LoadFunctions",
defaults={
user_data="nullptr"},
@@ -1369,6 +1438,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkan_NewFrame",
defaults={},
funcname="ImGui_ImplVulkan_NewFrame",
@@ -1387,6 +1457,7 @@ local t={
type="VkDescriptorSet"}},
argsoriginal="(VkDescriptorSet descriptor_set)",
call_args="(descriptor_set)",
call_args_old="(descriptor_set)",
cimguiname="ImGui_ImplVulkan_RemoveTexture",
defaults={},
funcname="ImGui_ImplVulkan_RemoveTexture",
@@ -1411,6 +1482,7 @@ local t={
type="VkPipeline"}},
argsoriginal="(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
call_args="(draw_data,command_buffer,pipeline)",
call_args_old="(draw_data,command_buffer,pipeline)",
cimguiname="ImGui_ImplVulkan_RenderDrawData",
defaults={
pipeline="0ULL"},
@@ -1430,6 +1502,7 @@ local t={
type="uint32_t"}},
argsoriginal="(uint32_t min_image_count)",
call_args="(min_image_count)",
call_args_old="(min_image_count)",
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
defaults={},
funcname="ImGui_ImplVulkan_SetMinImageCount",
@@ -1445,6 +1518,7 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkan_Shutdown",
defaults={},
funcname="ImGui_ImplVulkan_Shutdown",
@@ -1463,6 +1537,7 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplVulkan_UpdateTexture",
defaults={},
funcname="ImGui_ImplVulkan_UpdateTexture",