SDL_GPUIndexElementSize(3type)
π SDL_GPUIndexElementSize π
okay bestie, welcome to the SDL3 DATATYPES corner of the manual, and today's main character is SDL_GPUIndexElementSize π
β¨ NAME β¨
SDL_GPUIndexElementSize β tells you how big the elements are in an index buffer π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_gpu.h>
typedef enum SDL_GPUIndexElementSize
{
SDL_GPU_INDEXELEMENTSIZE_16BIT, /**< The index elements are 16-bit. */
SDL_GPU_INDEXELEMENTSIZE_32BIT /**< The index elements are 32-bit. */
} SDL_GPUIndexElementSize;
so it's an enum, it's got exactly two moods, and both of them are about bit-width π
π¦ AVAILABILITY π¦
this enum has been serving looks since SDL 3.2.0 β¨
π SEE ALSO π
SDL_CreateGPUGraphicsPipeline(3)β go read that one next, iykyk π«Ά
and that's the whole vibe, no cap. Simple Directmedia Layer put this out as part of SDL 3.4.18, and this little page is literally SDL_GPUIndexElementSize(3type) ππ slay, bye bestie! ππ¦
π¦ 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