---
name: "SDL_GPUIndexElementSize"
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_GPUIndexElementSize"
---

# SDL\_GPUIndexElementSize(3type)

Specifies the size of elements in an index buffer.

## NAME

SDL\_GPUIndexElementSize - Specifies the size of elements in an index buffer.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef enum SDL\_GPUIndexElementSize** **{**     **SDL\_GPU\_INDEXELEMENTSIZE\_16BIT, /\*\*\< The index elements are 16-bit. \*/**     **SDL\_GPU\_INDEXELEMENTSIZE\_32BIT  /\*\*\< The index elements are 32-bit. \*/** **} SDL\_GPUIndexElementSize;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

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