---
name: "SDL_GPUSamplerAddressMode"
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_GPUSamplerAddressMode"
---

# SDL\_GPUSamplerAddressMode(3type)

Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.

## NAME

SDL\_GPUSamplerAddressMode - Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef enum SDL\_GPUSamplerAddressMode** **{**     **SDL\_GPU\_SAMPLERADDRESSMODE\_REPEAT,           /\*\*\< Specifies that the coordinates will wrap around. \*/**     **SDL\_GPU\_SAMPLERADDRESSMODE\_MIRRORED\_REPEAT,  /\*\*\< Specifies that the coordinates will wrap around mirrored. \*/**     **SDL\_GPU\_SAMPLERADDRESSMODE\_CLAMP\_TO\_EDGE     /\*\*\< Specifies that the coordinates will clamp to the 0-1 range. \*/** **} SDL\_GPUSamplerAddressMode;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUSampler**(3)](/SDL_CreateGPUSampler/3.md)
