SDL_GPUINDIRECTDISPATCHCOMMAND(3type)
π NAME π
SDL_GPUIndirectDispatchCommand β bestie, it's a struct, and what it does is hold all the parameters of an indexed dispatch command β¨
π SYNOPSIS π
#include <SDL3/SDL_gpu.h>
typedef struct SDL_GPUIndirectDispatchCommand
{
Uint32 groupcount_x; /**< The number of local workgroups to dispatch in the X dimension. */
Uint32 groupcount_y; /**< The number of local workgroups to dispatch in the Y dimension. */
Uint32 groupcount_z; /**< The number of local workgroups to dispatch in the Z dimension. */
} SDL_GPUIndirectDispatchCommand;
okay so three fields, all Uint32, all vibing. no cap π
groupcount_xβ how many local workgroups you're dispatching along the X dimension π¦groupcount_yβ how many local workgroups you're dispatching along the Y dimension π¦groupcount_zβ how many local workgroups you're dispatching along the Z dimension π¦
it's giving "XYZ but make it a compute dispatch" and honestly? iconic π
β¨ AVAILABILITY β¨
this struct has been around since SDL 3.2.0 β so it's not new new, it's just lowkey established π
πΈ SEE ALSO πΈ
SDL_DispatchGPUComputeIndirect(3)β go read that one next, fr fr π«Ά
and that's the whole page bestie!! it's part of SDL3 DATATYPES, it lives in the Simple Directmedia Layer family, and this particular glow-up is from version SDL 3.4.18 π mwah, go dispatch something cute π β¨π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms