27 #include "backends/imgui/imgui.h" 33 typedef union SDL_Event SDL_Event;
36 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,
void* sdl_gl_context);
37 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
38 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForD3D(SDL_Window* window);
39 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForMetal(SDL_Window* window);
40 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window, SDL_Renderer* renderer);
41 IMGUI_IMPL_API
bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
42 IMGUI_IMPL_API
void ImGui_ImplSDL3_Shutdown();
43 IMGUI_IMPL_API
void ImGui_ImplSDL3_NewFrame();
44 IMGUI_IMPL_API
bool ImGui_ImplSDL3_ProcessEvent(
const SDL_Event* event);
48 enum ImGui_ImplSDL3_GamepadMode { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual };
49 IMGUI_IMPL_API
void ImGui_ImplSDL3_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode, SDL_Gamepad** manual_gamepads_array = NULL,
int manual_gamepads_count = -1);
51 #endif // #ifndef IMGUI_DISABLE