---
name: "SDL_GPUTextureSamplerBinding"
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_GPUTextureSamplerBinding"
---

# SDL\_GPUTextureSamplerBinding(3type)

A structure specifying parameters in a sampler binding call.

## NAME

SDL\_GPUTextureSamplerBinding - A structure specifying parameters in a sampler binding call.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUTextureSamplerBinding** **{**     **SDL\_GPUTexture \*texture;  /\*\*\< The texture to bind. Must have been created with SDL\_GPU\_TEXTUREUSAGE\_SAMPLER. \*/**     **SDL\_GPUSampler \*sampler;  /\*\*\< The sampler to bind. \*/** **} SDL\_GPUTextureSamplerBinding;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_BindGPUVertexSamplers**(3)](/SDL_BindGPUVertexSamplers/3.md), **•**(3), [**SDL\_BindGPUFragmentSamplers**(3)](/SDL_BindGPUFragmentSamplers/3.md)
