SDL_GPUVertexInputRate(3type)

okay bestie, welcome to the SDL3 DATATYPES manual β€” this page is SDL_GPUVertexInputRate(3type), and it's literally the enum that controls the rate at which vertex attributes are pulled from buffers. no cap. πŸ’…

✨ NAME ✨

SDL_GPUVertexInputRate β€” specifies the rate at which vertex attributes are pulled from buffers. like, are we addressing per vertex or per instance? this enum is the main character that decides. πŸ‘‘

🌸 SYNOPSIS 🌸

#include <SDL3/SDL_gpu.h>

typedef enum SDL_GPUVertexInputRate
{
    SDL_GPU_VERTEXINPUTRATE_VERTEX,   /**< Attribute addressing is a function of the vertex index. */
    SDL_GPU_VERTEXINPUTRATE_INSTANCE  /**< Attribute addressing is a function of the instance index. */
} SDL_GPUVertexInputRate;
  • SDL_GPU_VERTEXINPUTRATE_VERTEX β€” attribute addressing is a function of the vertex index. 🌈
  • SDL_GPU_VERTEXINPUTRATE_INSTANCE β€” attribute addressing is a function of the instance index. πŸ¦‹

πŸ’– AVAILABILITY πŸ’–

this enum is available since SDL 3.2.0. periodt. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹


k bye πŸ’œ β€” this was Simple Directmedia Layer, version SDL 3.4.18, and the page is SDL_GPUVertexInputRate(3type). no date on this footer, just source and version. πŸŽ€

πŸ“¦ where this page comes from