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

# Interface GPUTextureView

The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTextureView)

interface GPUTextureView {  
    [label](#label): string;  
}

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

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

##### Index

### Properties[](#properties)

[label](#label)

## Properties[](#properties-1)

### label[](#label)

label: string

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup/label)

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