---
name: "SDL_GPUVertexInputRate"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GPUVertexInputRate"
---

# SDL\_GPUVertexInputRate(3type)

Specifies the rate at which vertex attributes are pulled from buffers.

## NAME

SDL\_GPUVertexInputRate - Specifies the rate at which vertex attributes are pulled from buffers.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.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;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUGraphicsPipeline**(3)](/SDL_CreateGPUGraphicsPipeline/3.md)
