|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
A recorded clear or draw command replayed during frame submission. More...
#include <graphics_private.h>
Data Fields | |
| DTTR_BatchRecordType | type |
| union { | |
| struct { | |
| uint32_t first_vertex | |
| uint32_t vertex_count | |
| DTTR_Uniforms uniforms | |
| SDL_GPUTexture * texture | |
| SDL_GPUSampler * sampler | |
| uint32_t texture_index | |
| int sampler_index | |
| int blend_mode | |
| bool depth_test | |
| bool depth_write | |
| } draw | |
| struct { | |
| uint32_t flags | |
| SDL_FColor color | |
| float depth | |
| } clear | |
| }; | |
A recorded clear or draw command replayed during frame submission.
Definition at line 153 of file graphics_private.h.
| union { ... } DTTR_BatchRecord |
| int DTTR_BatchRecord::blend_mode |
Definition at line 165 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| struct { ... } DTTR_BatchRecord::clear |
Referenced by begin_clear_pass(), d3d_device7_record_clear(), and replay_batch_records_gl().
| SDL_FColor DTTR_BatchRecord::color |
Definition at line 172 of file graphics_private.h.
Referenced by begin_clear_pass(), d3d_device7_record_clear(), and replay_batch_records_gl().
| float DTTR_BatchRecord::depth |
Definition at line 173 of file graphics_private.h.
Referenced by begin_clear_pass(), d3d_device7_record_clear(), and replay_batch_records_gl().
| bool DTTR_BatchRecord::depth_test |
Definition at line 166 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| bool DTTR_BatchRecord::depth_write |
Definition at line 167 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| struct { ... } DTTR_BatchRecord::draw |
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| uint32_t DTTR_BatchRecord::first_vertex |
Definition at line 158 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| uint32_t DTTR_BatchRecord::flags |
Definition at line 171 of file graphics_private.h.
Referenced by begin_clear_pass(), d3d_device7_record_clear(), and replay_batch_records_gl().
| SDL_GPUSampler* DTTR_BatchRecord::sampler |
Definition at line 162 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), and draw_batch_record().
| int DTTR_BatchRecord::sampler_index |
Definition at line 164 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), and replay_batch_records_gl().
| SDL_GPUTexture* DTTR_BatchRecord::texture |
Definition at line 161 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), and draw_batch_record().
| uint32_t DTTR_BatchRecord::texture_index |
Definition at line 163 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), and replay_batch_records_gl().
| DTTR_BatchRecordType DTTR_BatchRecord::type |
Definition at line 154 of file graphics_private.h.
Referenced by d3d_device7_record_clear(), d3d_device7_record_draw(), replay_batch_records(), and replay_batch_records_gl().
| DTTR_Uniforms DTTR_BatchRecord::uniforms |
Definition at line 160 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().
| uint32_t DTTR_BatchRecord::vertex_count |
Definition at line 159 of file graphics_private.h.
Referenced by d3d_device7_record_draw(), draw_batch_record(), and replay_batch_records_gl().