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

# Interface GPUVertexAttribute

interface GPUVertexAttribute {  
    [format](#format): [GPUVertexFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUVertexFormat/);  
    [offset](#offset): number;  
    [shaderLocation](#shaderlocation): number;  
}

##### Index

### Properties[](#properties)

[format](#format) [offset](#offset) [shaderLocation](#shaderlocation)

## Properties[](#properties-1)

### format[](#format)

format: [GPUVertexFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUVertexFormat/)

### offset[](#offset)

offset: number

### shaderLocation[](#shaderlocation)

shaderLocation: number
