---
name: "SDL_GPUBufferCreateInfo"
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_GPUBufferCreateInfo"
---

# SDL\_GPUBufferCreateInfo(3type)

A structure specifying the parameters of a buffer.

## NAME

SDL\_GPUBufferCreateInfo - A structure specifying the parameters of a buffer.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBufferCreateInfo** **{**     **SDL\_GPUBufferUsageFlags usage;  /\*\*\< How the buffer is intended to be used by the client. \*/**     **Uint32 size;                    /\*\*\< The size in bytes of the buffer. \*/**     **SDL\_PropertiesID props;         /\*\*\< A properties ID for extensions. Should be 0 if no extensions are needed. \*/** **} SDL\_GPUBufferCreateInfo;**

## DESCRIPTION

Usage flags can be bitwise OR'd together for combinations of usages. Note that certain combinations are invalid, for example VERTEX and INDEX.

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUBuffer**(3)](/SDL_CreateGPUBuffer/3.md), **•**(3), [**SDL\_GPUBufferUsageFlags**(3type)](/SDL_GPUBufferUsageFlags/3type.md)
