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

# Interface GPURenderPassLayout

interface GPURenderPassLayout {  
    [colorFormats](#colorformats): ([GPUTextureFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUTextureFormat/) | null)\[\];  
    [depthStencilFormat](#depthstencilformat)?: [GPUTextureFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUTextureFormat/);  
    [label](#label)?: string;  
    [sampleCount](#samplecount)?: number;  
}

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

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

##### Index

### Properties[](#properties)

[colorFormats](#colorformats) [depthStencilFormat?](#depthstencilformat) [label?](#label) [sampleCount?](#samplecount)

## Properties[](#properties-1)

### colorFormats[](#colorformats)

colorFormats: ([GPUTextureFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUTextureFormat/) | null)\[\]

### `Optional`depthStencilFormat[](#depthstencilformat)

depthStencilFormat?: [GPUTextureFormat](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GPUTextureFormat/)

### `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`sampleCount[](#samplecount)

sampleCount?: number
