# FeatureLevel

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

*** ** * ** ***


```
public final class FeatureLevel
```

<br />

*** ** * ** ***

Specifies a feature level for adapter requests. @see RequestAdapterOptions.featureLevel.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/FeatureLevel#Compatibility() = 1` `Compatibility` profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/FeatureLevel#Core() = 2` `Core` profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/FeatureLevel#Undefined() = 0` Indicates no specific feature level is requested. |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/FeatureLevel#toString(kotlin.Int)(int value)` |

## Constants

### Compatibility

```
public static final int Compatibility = 1
```

`Compatibility` profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.

### Core

```
public static final int Core = 2
```

`Core` profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.

### Undefined

```
public static final int Undefined = 0
```

Indicates no specific feature level is requested.

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```