102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
imgui_overlay_private.h File Reference
#include "graphics_private.h"
#include <SDL3/SDL.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

void dttr_imgui_init (SDL_Window *window, SDL_GPUDevice *device, DTTR_BackendType backend)
void dttr_imgui_cleanup ()
bool dttr_imgui_process_event (const SDL_Event *event)
void dttr_imgui_render_game_sdl3gpu (SDL_GPUCommandBuffer *cmd, SDL_GPUTexture *render_target, uint32_t w, uint32_t h)
void dttr_imgui_render_game_opengl ()
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)

Function Documentation

◆ dttr_imgui_cleanup()

void dttr_imgui_cleanup ( )

Referenced by cleanup_runtime().

◆ dttr_imgui_init()

void dttr_imgui_init ( SDL_Window * window,
SDL_GPUDevice * device,
DTTR_BackendType backend )

◆ dttr_imgui_process_event()

bool dttr_imgui_process_event ( const SDL_Event * event)

References event.

Referenced by dttr_sidecar_handle_sdl_event().

◆ dttr_imgui_render_game_opengl()

void dttr_imgui_render_game_opengl ( )

Referenced by end_frame().

◆ dttr_imgui_render_game_sdl3gpu()

void dttr_imgui_render_game_sdl3gpu ( SDL_GPUCommandBuffer * cmd,
SDL_GPUTexture * render_target,
uint32_t w,
uint32_t h )

References h, and w.

Referenced by end_frame().

◆ dttr_imgui_render_opengl()

void dttr_imgui_render_opengl ( uint32_t game_x,
uint32_t game_y,
uint32_t game_w,
uint32_t game_h )

Referenced by end_frame().

◆ dttr_imgui_render_sdl3gpu()

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 )

Referenced by end_frame().