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

# Interface GPURenderPipeline

The **`GPURenderPipeline`** interface of the WebGPU API represents a pipeline that controls the vertex and fragment shader stages and can be used in a GPURenderPassEncoder or GPURenderBundleEncoder. Available only in secure contexts.

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

interface GPURenderPipeline {  
    [label](#label): string;  
    [getBindGroupLayout](#getbindgrouplayout-1)(index: number): [GPUBindGroupLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUBindGroupLayout/);  
}

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

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

##### Index

### Properties[](#properties)

[label](#label)

### Methods[](#methods)

[getBindGroupLayout](#getbindgrouplayout)

## 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)

## Methods[](#methods-1)

### getBindGroupLayout[](#getbindgrouplayout)

-   getBindGroupLayout(index: number): [GPUBindGroupLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUBindGroupLayout/)[](#getbindgrouplayout-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline/getBindGroupLayout)
    
    #### Parameters
    
    -   index: number
    
    #### Returns [GPUBindGroupLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUBindGroupLayout/)
    
    Inherited from [GPUPipelineBase](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUPipelineBase/).[getBindGroupLayout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUPipelineBase/#getbindgrouplayout)
