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

# SDL\_BindGPUVertexStorageTextures(3)

Binds storage textures for use on the vertex shader.

## NAME

SDL\_BindGPUVertexStorageTextures - Binds storage textures for use on the vertex shader.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**void SDL\_BindGPUVertexStorageTextures(**     **SDL\_GPURenderPass \*render\_pass,**     **Uint32 first\_slot,**     **SDL\_GPUTexture \*const \*storage\_textures,**     **Uint32 num\_bindings);**

## DESCRIPTION

These textures must have been created with

**SDL\_GPU\_TEXTUREUSAGE\_GRAPHICS\_STORAGE\_READ** .

Be sure your shader is set up according to the requirements documented in

**SDL\_CreateGPUShader** ().

## FUNCTION PARAMETERS

- *render\_pass*

  a render pass handle.

- *first\_slot*

  the vertex storage texture slot to begin binding from.

- *storage\_textures*

  an array of storage textures.

- *num\_bindings*

  the number of storage texture to bind from the array.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

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