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 π¦
SDL_CreateGPUGraphicsPipeline(3)β go check that one too, bestie. π
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
- 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