SDL 3.0
|
#include <SDL_gpu.h>
Data Fields | |
Uint32 | num_indices |
Uint32 | num_instances |
Uint32 | first_index |
Sint32 | vertex_offset |
Uint32 | first_instance |
A structure specifying the parameters of an indexed indirect draw command.
Note that the first_vertex
and first_instance
parameters are NOT compatible with built-in vertex/instance ID variables in shaders (for example, SV_VertexID). If your shader depends on these variables, the correlating draw call parameter MUST be 0.
Uint32 SDL_GPUIndexedIndirectDrawCommand::first_index |
Uint32 SDL_GPUIndexedIndirectDrawCommand::first_instance |
Uint32 SDL_GPUIndexedIndirectDrawCommand::num_indices |
Uint32 SDL_GPUIndexedIndirectDrawCommand::num_instances |
Sint32 SDL_GPUIndexedIndirectDrawCommand::vertex_offset |