# MipmapFilterMode

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/MipmapFilterMode.kt+class:androidx.webgpu.MipmapFilterMode) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
class MipmapFilterMode
```

<br />

*** ** * ** ***

Defines the filtering mode used between mipmap levels.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/MipmapFilterMode#Linear() = 2` Linear filtering between mipmaps. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/MipmapFilterMode#Nearest() = 1` Nearest-neighbor filtering between mipmaps. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/MipmapFilterMode#Undefined() = 0` Indicates that no mipmap filter mode is specified. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/MipmapFilterMode#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### Linear

```
const val Linear = 2: Int
```

Linear filtering between mipmaps.

### Nearest

```
const val Nearest = 1: Int
```

Nearest-neighbor filtering between mipmaps.

### Undefined

```
const val Undefined = 0: Int
```

Indicates that no mipmap filter mode is specified.

## Public companion functions

### toString

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
fun toString(value: Int): String
```