---
name: "SDL_GPUVertexInputState"
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_GPUVertexInputState"
---

# SDL\_GPUVertexInputState(3type)

A structure specifying the parameters of a graphics pipeline vertex input state.

## NAME

SDL\_GPUVertexInputState - A structure specifying the parameters of a graphics pipeline vertex input state.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_GPUVertexInputState** **{**     **const SDL\_GPUVertexBufferDescription \*vertex\_buffer\_descriptions; /\*\*\< A pointer to an array of vertex buffer descriptions. \*/**     **Uint32 num\_vertex\_buffers;                                        /\*\*\< The number of vertex buffer descriptions in the above array. \*/**     **const SDL\_GPUVertexAttribute \*vertex\_attributes;                  /\*\*\< A pointer to an array of vertex attribute descriptions. \*/**     **Uint32 num\_vertex\_attributes;                                     /\*\*\< The number of vertex attribute descriptions in the above array. \*/** **} SDL\_GPUVertexInputState;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_GPUGraphicsPipelineCreateInfo**(3type)](/SDL_GPUGraphicsPipelineCreateInfo/3type.md), **•**(3), [**SDL\_GPUVertexBufferDescription**(3type)](/SDL_GPUVertexBufferDescription/3type.md), **•**(3), [**SDL\_GPUVertexAttribute**(3type)](/SDL_GPUVertexAttribute/3type.md)
