---
name: "SDL_GPUFilter"
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_GPUFilter"
---

# SDL\_GPUFilter(3type)

Specifies a filter operation used by a sampler.

## NAME

SDL\_GPUFilter - Specifies a filter operation used by a sampler.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef enum SDL\_GPUFilter** **{**     **SDL\_GPU\_FILTER\_NEAREST,  /\*\*\< Point filtering. \*/**     **SDL\_GPU\_FILTER\_LINEAR    /\*\*\< Linear filtering. \*/** **} SDL\_GPUFilter;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

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