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

*** ** * ** ***


```
public final class VertexStepMode
```

<br />

*** ** * ** ***

Defines how frequently a vertex buffer is advanced.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/VertexStepMode#Instance() = 2` The vertex buffer is advanced for each instance. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/VertexStepMode#Undefined() = 0` Indicates that no vertex step mode is specified. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/VertexStepMode#Vertex() = 1` The vertex buffer is advanced for each vertex. |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/VertexStepMode#toString(kotlin.Int)(int value)` |

## Constants

### Instance

```
public static final int Instance = 2
```

The vertex buffer is advanced for each instance.

### Undefined

```
public static final int Undefined = 0
```

Indicates that no vertex step mode is specified.

### Vertex

```
public static final int Vertex = 1
```

The vertex buffer is advanced for each vertex.

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```