---
title: "GPUVertexState | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

# Interface GPUVertexState

interface GPUVertexState {  
    [buffers](#buffers)?: ([GPUVertexBufferLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUVertexBufferLayout/) | null)\[\];  
    [constants](#constants)?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, number\>;  
    [entryPoint](#entrypoint)?: string;  
    [module](#module): [GPUShaderModule](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUShaderModule/);  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.GPUVertexState))

-   [GPUProgrammableStage](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/)
    -   GPUVertexState

##### Index

### Properties[](#properties)

[buffers?](#buffers) [constants?](#constants) [entryPoint?](#entrypoint) [module](#module)

## Properties[](#properties-1)

### `Optional`buffers[](#buffers)

buffers?: ([GPUVertexBufferLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUVertexBufferLayout/) | null)\[\]

### `Optional`constants[](#constants)

constants?: [Record](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Record/)<string, number\>

Inherited from [GPUProgrammableStage](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/).[constants](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/#constants)

### `Optional`entryPoint[](#entrypoint)

entryPoint?: string

Inherited from [GPUProgrammableStage](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/).[entryPoint](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/#entrypoint)

### module[](#module)

module: [GPUShaderModule](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUShaderModule/)

Inherited from [GPUProgrammableStage](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/).[module](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUProgrammableStage/#module)
