# Constants

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

*** ** * ** ***


```
object Constants
```

<br />

*** ** * ** ***

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#ARRAY_LAYER_COUNT_UNDEFINED()` A sentinel value indicating that the array layer count is not specified and should be inferred. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#COPY_STRIDE_UNDEFINED()` A sentinel value indicating that the copy stride for a texture or buffer operation is not specified. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#DEPTH_CLEAR_VALUE_UNDEFINED()` A sentinel value indicating that no depth clear value is provided. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#DEPTH_SLICE_UNDEFINED()` A sentinel value indicating that a depth slice is not specified, often defaulting to 0. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#LIMIT_U32_UNDEFINED()` A sentinel value for 32-bit unsigned integer limits, indicating that no specific limit is requested. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#LIMIT_U64_UNDEFINED()` A sentinel value for 64-bit unsigned integer limits, indicating that no specific limit is requested. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#MIP_LEVEL_COUNT_UNDEFINED()` A sentinel value indicating that the mip level count is not specified and should be inferred. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#QUERY_SET_INDEX_UNDEFINED()` A sentinel value indicating that a query set index is not specified. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#STRLEN()` A sentinel value for @see StringView to indicate a {@code null}-terminated string. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#WHOLE_MAP_SIZE()` A sentinel value used in mapping operations to indicate the range extends to the end of the buffer. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/Constants#WHOLE_SIZE()` A sentinel value indicating a size that extends to the end of a resource. |

## Constants

### ARRAY_LAYER_COUNT_UNDEFINED

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

```
const val ARRAY_LAYER_COUNT_UNDEFINED: Int
```

A sentinel value indicating that the array layer count is not specified and should be inferred.

### COPY_STRIDE_UNDEFINED

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

```
const val COPY_STRIDE_UNDEFINED: Int
```

A sentinel value indicating that the copy stride for a texture or buffer operation is not specified.

### DEPTH_CLEAR_VALUE_UNDEFINED

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

```
const val DEPTH_CLEAR_VALUE_UNDEFINED: Float
```

A sentinel value indicating that no depth clear value is provided.

### DEPTH_SLICE_UNDEFINED

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

```
const val DEPTH_SLICE_UNDEFINED: Int
```

A sentinel value indicating that a depth slice is not specified, often defaulting to 0.

### LIMIT_U32_UNDEFINED

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

```
const val LIMIT_U32_UNDEFINED: Int
```

A sentinel value for 32-bit unsigned integer limits, indicating that no specific limit is requested.

### LIMIT_U64_UNDEFINED

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

```
const val LIMIT_U64_UNDEFINED: Long
```

A sentinel value for 64-bit unsigned integer limits, indicating that no specific limit is requested.

### MIP_LEVEL_COUNT_UNDEFINED

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

```
const val MIP_LEVEL_COUNT_UNDEFINED: Int
```

A sentinel value indicating that the mip level count is not specified and should be inferred.

### QUERY_SET_INDEX_UNDEFINED

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

```
const val QUERY_SET_INDEX_UNDEFINED: Int
```

A sentinel value indicating that a query set index is not specified.

### STRLEN

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

```
const val STRLEN: Long
```

A sentinel value for @see StringView to indicate a {@code null}-terminated string.

### WHOLE_MAP_SIZE

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

```
const val WHOLE_MAP_SIZE: Long
```

A sentinel value used in mapping operations to indicate the range extends to the end of the buffer.

### WHOLE_SIZE

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

```
const val WHOLE_SIZE: Long
```

A sentinel value indicating a size that extends to the end of a resource.