---
name: "SDL_GPUShaderStage"
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_GPUShaderStage"
---

# SDL\_GPUShaderStage(3type)

Specifies which stage a shader program corresponds to.

## NAME

SDL\_GPUShaderStage - Specifies which stage a shader program corresponds to.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef enum SDL\_GPUShaderStage** **{**     **SDL\_GPU\_SHADERSTAGE\_VERTEX,**     **SDL\_GPU\_SHADERSTAGE\_FRAGMENT** **} SDL\_GPUShaderStage;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUShader**(3)](/SDL_CreateGPUShader/3.md)
