# GPUCompatibilityModeLimits

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

*** ** * ** ***


```
class GPUCompatibilityModeLimits
```

<br />

*** ** * ** ***

## Summary

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

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompatibilityModeLimits#GPUCompatibilityModeLimits(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)( maxStorageBuffersInVertexStage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, maxStorageTexturesInVertexStage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, maxStorageBuffersInFragmentStage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, maxStorageTexturesInFragmentStage: 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/GPUCompatibilityModeLimits#maxStorageBuffersInFragmentStage()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompatibilityModeLimits#maxStorageBuffersInVertexStage()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompatibilityModeLimits#maxStorageTexturesInFragmentStage()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompatibilityModeLimits#maxStorageTexturesInVertexStage()` |

## Public constructors

### GPUCompatibilityModeLimits

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

```
GPUCompatibilityModeLimits(
    maxStorageBuffersInVertexStage: Int = Constants.LIMIT_U32_UNDEFINED,
    maxStorageTexturesInVertexStage: Int = Constants.LIMIT_U32_UNDEFINED,
    maxStorageBuffersInFragmentStage: Int = Constants.LIMIT_U32_UNDEFINED,
    maxStorageTexturesInFragmentStage: Int = Constants.LIMIT_U32_UNDEFINED
)
```

## Public properties

### maxStorageBuffersInFragmentStage

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

```
var maxStorageBuffersInFragmentStage: Int
```

### maxStorageBuffersInVertexStage

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

```
var maxStorageBuffersInVertexStage: Int
```

### maxStorageTexturesInFragmentStage

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

```
var maxStorageTexturesInFragmentStage: Int
```

### maxStorageTexturesInVertexStage

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

```
var maxStorageTexturesInVertexStage: Int
```