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

# Interface GPUBufferDescriptor

interface GPUBufferDescriptor {  
    [label](#label)?: string;  
    [mappedAtCreation](#mappedatcreation)?: boolean;  
    [size](#size): number;  
    [usage](#usage): number;  
}

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

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

##### Index

### Properties[](#properties)

[label?](#label) [mappedAtCreation?](#mappedatcreation) [size](#size) [usage](#usage)

## Properties[](#properties-1)

### `Optional`label[](#label)

label?: string

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

### `Optional`mappedAtCreation[](#mappedatcreation)

mappedAtCreation?: boolean

### size[](#size)

size: number

### usage[](#usage)

usage: number
