# GpuVertexBufferLayout

`import { GpuVertexBufferLayout } from "destack:gpu/binding";`

Vertex buffer layout descriptor.

```ds title="GpuVertexBufferLayout"
export struct GpuVertexBufferLayout {
    slot: uint32;
    arrayStride: uint64;
    stepMode: GpuVertexStepMode;
    attributes: [GpuVertexAttribute];
}
```

[language/library/src/gpu/binding/pipeline.ds:189:198](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/pipeline.ds#L189-L198)

## Members

### `slot: uint32`

Vertex buffer slot index.

### `arrayStride: uint64`

Vertex buffer stride in bytes.

### `stepMode: GpuVertexStepMode`

Vertex layout step mode selector.

### `attributes: [GpuVertexAttribute]`

Vertex attributes consumed from this buffer.
