102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
imgui_overlay_private.h
Go to the documentation of this file.
1#ifndef IMGUI_OVERLAY_PRIVATE_H
2#define IMGUI_OVERLAY_PRIVATE_H
3
4#include "graphics_private.h"
5
6#include <SDL3/SDL.h>
7#include <stdbool.h>
8
9void dttr_imgui_init(SDL_Window *window, SDL_GPUDevice *device, DTTR_BackendType backend);
12
14 SDL_GPUCommandBuffer *cmd,
15 SDL_GPUTexture *render_target,
16 uint32_t w,
17 uint32_t h
18);
19
21
23 SDL_GPUCommandBuffer *cmd,
24 SDL_GPUTexture *swapchain_tex,
25 uint32_t swap_w,
26 uint32_t swap_h,
27 uint32_t game_x,
28 uint32_t game_y,
29 uint32_t game_w,
30 uint32_t game_h
31);
32
34 uint32_t game_x,
35 uint32_t game_y,
36 uint32_t game_w,
37 uint32_t game_h
38);
39
40#endif // IMGUI_OVERLAY_PRIVATE_H
DTTR_Graphics_COM_DirectDraw7 *self DWORD DWORD h
DTTR_Graphics_COM_DirectDraw7 *self DWORD w
void void DWORD HANDLE event
union SDL_Event SDL_Event
Definition dttr_mods.h:20
struct SDL_Window SDL_Window
Definition dttr_mods.h:19
DTTR_BackendType
void dttr_imgui_render_game_sdl3gpu(SDL_GPUCommandBuffer *cmd, SDL_GPUTexture *render_target, uint32_t w, uint32_t h)
void dttr_imgui_cleanup()
void dttr_imgui_render_sdl3gpu(SDL_GPUCommandBuffer *cmd, SDL_GPUTexture *swapchain_tex, uint32_t swap_w, uint32_t swap_h, uint32_t game_x, uint32_t game_y, uint32_t game_w, uint32_t game_h)
void dttr_imgui_render_opengl(uint32_t game_x, uint32_t game_y, uint32_t game_w, uint32_t game_h)
bool dttr_imgui_process_event(const SDL_Event *event)
void dttr_imgui_init(SDL_Window *window, SDL_GPUDevice *device, DTTR_BackendType backend)
void dttr_imgui_render_game_opengl()