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 πŸ’œ


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