# GpuVertexState

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

Vertex-state descriptor.

```ds title="GpuVertexState"
export struct GpuVertexState {
    module: GpuShaderHandle;
    entry: string;
    constants: [GpuPipelineConstant];
    buffers: [GpuVertexBufferLayout];
}
```

[language/library/src/gpu/binding/pipeline.ds:459:468](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/pipeline.ds#L459-L468)

## Members

### `module: GpuShaderHandle`

Vertex shader-module handle.

### `entry: string`

Vertex entry point when provided.

### `constants: [GpuPipelineConstant]`

Vertex-stage specialization constants.

### `buffers: [GpuVertexBufferLayout]`

Vertex buffer layouts.
