# AdapterType

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

*** ** * ** ***


```
public final class AdapterType
```

<br />

*** ** * ** ***

Describes the physical characteristics of a graphics adapter.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/AdapterType#CPU() = 3` A software-based rendering engine. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/AdapterType#DiscreteGPU() = 1` A separate, dedicated graphics card. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/AdapterType#IntegratedGPU() = 2` A GPU integrated with the CPU. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/AdapterType#Unknown() = 4` The adapter type is unknown. |

| ### 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/AdapterType#toString(kotlin.Int)(int value)` |

## Constants

### CPU

```
public static final int CPU = 3
```

A software-based rendering engine.

### DiscreteGPU

```
public static final int DiscreteGPU = 1
```

A separate, dedicated graphics card.

### IntegratedGPU

```
public static final int IntegratedGPU = 2
```

A GPU integrated with the CPU.

### Unknown

```
public static final int Unknown = 4
```

The adapter type is unknown.

## 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)
```