# VertexStepMode

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

*** ** * ** ***


```
class VertexStepMode
```

<br />

*** ** * ** ***

Defines how frequently a vertex buffer is advanced.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/VertexStepMode#Instance() = 2` The vertex buffer is advanced for each instance. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/VertexStepMode#Undefined() = 0` Indicates that no vertex step mode is specified. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/VertexStepMode#Vertex() = 1` The vertex buffer is advanced for each vertex. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/VertexStepMode#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### Instance

```
const val Instance = 2: Int
```

The vertex buffer is advanced for each instance.

### Undefined

```
const val Undefined = 0: Int
```

Indicates that no vertex step mode is specified.

### Vertex

```
const val Vertex = 1: Int
```

The vertex buffer is advanced for each vertex.

## Public companion functions

### toString

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

```
fun toString(value: Int): String
```