|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
Backend-specific operations dispatched through function pointers. More...
#include <graphics_private.h>
Data Fields | |
| void(* | begin_frame )(DTTR_BackendState *state) |
| void(* | end_frame )(DTTR_BackendState *state) |
| bool(* | present_video_frame_bgra )(DTTR_BackendState *state, const uint8_t *pixels, int width, int height, int stride) |
| bool(* | resize )(DTTR_BackendState *state, int width, int height) |
| void(* | cleanup )(DTTR_BackendState *state) |
| const char *(* | get_driver_name )(const DTTR_BackendState *state) |
| void(* | defer_texture_destroy )(DTTR_BackendState *state, int texture_index) |
Backend-specific operations dispatched through function pointers.
Definition at line 134 of file graphics_private.h.
| void(* DTTR_RendererVtbl::begin_frame) (DTTR_BackendState *state) |
Definition at line 135 of file graphics_private.h.
| void(* DTTR_RendererVtbl::cleanup) (DTTR_BackendState *state) |
Definition at line 145 of file graphics_private.h.
| void(* DTTR_RendererVtbl::defer_texture_destroy) (DTTR_BackendState *state, int texture_index) |
Definition at line 147 of file graphics_private.h.
| void(* DTTR_RendererVtbl::end_frame) (DTTR_BackendState *state) |
Definition at line 136 of file graphics_private.h.
| const char *(* DTTR_RendererVtbl::get_driver_name) (const DTTR_BackendState *state) |
Definition at line 146 of file graphics_private.h.
| bool(* DTTR_RendererVtbl::present_video_frame_bgra) (DTTR_BackendState *state, const uint8_t *pixels, int width, int height, int stride) |
Definition at line 137 of file graphics_private.h.
| bool(* DTTR_RendererVtbl::resize) (DTTR_BackendState *state, int width, int height) |
Definition at line 144 of file graphics_private.h.