|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include "graphics_private.h"Go to the source code of this file.
Data Structures | |
| struct | sdl3_gpu_backend_data |
| SDL3GPU backend-private deferred texture destroy queue. More... | |
Functions | |
| bool | dttr_graphics_sdl3gpu_create_pipelines () |
| Builds all graphics pipelines used by the SDL3 GPU backend. | |
| bool | dttr_graphics_sdl3gpu_create_resources () |
| Creates shared GPU resources used by the SDL3 GPU backend. | |
| bool | dttr_graphics_sdl3gpu_resize_render_textures (int width, int height) |
| Recreates resolution-dependent render textures after updating target size. | |
| bool dttr_graphics_sdl3gpu_create_pipelines | ( | ) |
Builds all graphics pipelines used by the SDL3 GPU backend.
Definition at line 207 of file backend_sdl3gpu_pipelines.c.
References create_graphics_pipelines(), create_shader(), dttr_backend, DTTR_LOG_ERROR, get_basic_frag_blob(), get_basic_vert_blob(), NULL, release_shader_pair(), and state.
Referenced by dttr_graphics_sdl3gpu_init().
| bool dttr_graphics_sdl3gpu_create_resources | ( | ) |
Creates shared GPU resources used by the SDL3 GPU backend.
Definition at line 171 of file backend_sdl3gpu_resources.c.
References create_dummy_texture(), create_frame_buffers(), create_render_textures(), create_samplers(), dttr_backend, DTTR_LOG_ERROR, DTTR_SAMPLER_COUNT, state, and upload_dummy_white_pixel().
Referenced by dttr_graphics_sdl3gpu_init().
| bool dttr_graphics_sdl3gpu_resize_render_textures | ( | int | width, |
| int | height ) |
Recreates resolution-dependent render textures after updating target size.
Definition at line 214 of file backend_sdl3gpu_resources.c.
References create_render_textures(), dttr_backend, DTTR_LOG_ERROR, NULL, and state.
Referenced by resize().