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

*** ** * ** ***


```
public final class GPUCompatibilityModeLimits
```

<br />

*** ** * ** ***

## Summary

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

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#GPUCompatibilityModeLimits(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)( int maxStorageBuffersInVertexStage, int maxStorageTexturesInVertexStage, int maxStorageBuffersInFragmentStage, int maxStorageTexturesInFragmentStage )` |

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#getMaxStorageBuffersInFragmentStage()()` |
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#getMaxStorageBuffersInVertexStage()()` |
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#getMaxStorageTexturesInFragmentStage()()` |
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#getMaxStorageTexturesInVertexStage()()` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#setMaxStorageBuffersInFragmentStage(kotlin.Int)(int value)` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#setMaxStorageBuffersInVertexStage(kotlin.Int)(int value)` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#setMaxStorageTexturesInFragmentStage(kotlin.Int)(int value)` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUCompatibilityModeLimits#setMaxStorageTexturesInVertexStage(kotlin.Int)(int value)` |

## Public constructors

### GPUCompatibilityModeLimits

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

```
public GPUCompatibilityModeLimits(
    int maxStorageBuffersInVertexStage,
    int maxStorageTexturesInVertexStage,
    int maxStorageBuffersInFragmentStage,
    int maxStorageTexturesInFragmentStage
)
```

## Public methods

### getMaxStorageBuffersInFragmentStage

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

```
public final int getMaxStorageBuffersInFragmentStage()
```

### getMaxStorageBuffersInVertexStage

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

```
public final int getMaxStorageBuffersInVertexStage()
```

### getMaxStorageTexturesInFragmentStage

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

```
public final int getMaxStorageTexturesInFragmentStage()
```

### getMaxStorageTexturesInVertexStage

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

```
public final int getMaxStorageTexturesInVertexStage()
```

### setMaxStorageBuffersInFragmentStage

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

```
public final void setMaxStorageBuffersInFragmentStage(int value)
```

### setMaxStorageBuffersInVertexStage

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

```
public final void setMaxStorageBuffersInVertexStage(int value)
```

### setMaxStorageTexturesInFragmentStage

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

```
public final void setMaxStorageTexturesInFragmentStage(int value)
```

### setMaxStorageTexturesInVertexStage

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

```
public final void setMaxStorageTexturesInVertexStage(int value)
```