# GPUAdapterInfo

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

*** ** * ** ***


```
class GPUAdapterInfo
```

<br />

*** ** * ** ***

Provides detailed information about a graphics adapter.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#GPUAdapterInfo(kotlin.String,kotlin.String,kotlin.String,kotlin.String,kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)( vendor: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, architecture: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, device: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, adapterType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, vendorID: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, deviceID: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, subgroupMinSize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, subgroupMaxSize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, backendType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#adapterType()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#architecture()` The name of the adapter architecture. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#backendType()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#description()` A human-readable description of the adapter. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#device()` A vendor-specific device identifier. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#deviceID()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#subgroupMaxSize()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#subgroupMinSize()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#vendor()` The name of the adapter vendor. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUAdapterInfo#vendorID()` |

## Public constructors

### GPUAdapterInfo

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

```
GPUAdapterInfo(
    vendor: String,
    architecture: String,
    device: String,
    description: String,
    adapterType: Int,
    vendorID: Int,
    deviceID: Int,
    subgroupMinSize: Int,
    subgroupMaxSize: Int,
    backendType: Int = BackendType.Undefined
)
```

## Public properties

### adapterType

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

```
var adapterType: Int
```

Value is one of the following:

- `1`
- `2`
- `3`
- `4`

<br />

### architecture

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

```
var architecture: String
```

The name of the adapter architecture.

### backendType

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

```
var backendType: Int
```

Value is one of the following:

- `0`
- `1`
- `2`
- `3`
- `4`
- `5`
- `6`
- `7`
- `8`

<br />

### description

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

```
var description: String
```

A human-readable description of the adapter.

### device

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

```
var device: String
```

A vendor-specific device identifier.

### deviceID

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

```
var deviceID: Int
```

### subgroupMaxSize

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

```
var subgroupMaxSize: Int
```

### subgroupMinSize

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

```
var subgroupMinSize: Int
```

### vendor

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

```
var vendor: String
```

The name of the adapter vendor.

### vendorID

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

```
var vendorID: Int
```