SDL 3.0
|
#include <SDL_gpu.h>
Data Fields | |
Uint32 | num_vertices |
Uint32 | num_instances |
Uint32 | first_vertex |
Uint32 | first_instance |
A structure specifying the parameters of an 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_GPUIndirectDrawCommand::first_instance |
Uint32 SDL_GPUIndirectDrawCommand::first_vertex |
Uint32 SDL_GPUIndirectDrawCommand::num_instances |
Uint32 SDL_GPUIndirectDrawCommand::num_vertices |