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

# Interface GPURenderPassDescriptor

interface GPURenderPassDescriptor {  
    [colorAttachments](#colorattachments): ([GPURenderPassColorAttachment](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassColorAttachment/) | null)\[\];  
    [depthStencilAttachment](#depthstencilattachment)?: [GPURenderPassDepthStencilAttachment](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassDepthStencilAttachment/);  
    [label](#label)?: string;  
    [maxDrawCount](#maxdrawcount)?: number;  
    [occlusionQuerySet](#occlusionqueryset)?: [GPUQuerySet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUQuerySet/);  
    [timestampWrites](#timestampwrites)?: [GPURenderPassTimestampWrites](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassTimestampWrites/);  
}

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

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

##### Index

### Properties[](#properties)

[colorAttachments](#colorattachments) [depthStencilAttachment?](#depthstencilattachment) [label?](#label) [maxDrawCount?](#maxdrawcount) [occlusionQuerySet?](#occlusionqueryset) [timestampWrites?](#timestampwrites)

## Properties[](#properties-1)

### colorAttachments[](#colorattachments)

colorAttachments: ([GPURenderPassColorAttachment](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassColorAttachment/) | null)\[\]

### `Optional`depthStencilAttachment[](#depthstencilattachment)

depthStencilAttachment?: [GPURenderPassDepthStencilAttachment](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassDepthStencilAttachment/)

### `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`maxDrawCount[](#maxdrawcount)

maxDrawCount?: number

### `Optional`occlusionQuerySet[](#occlusionqueryset)

occlusionQuerySet?: [GPUQuerySet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPUQuerySet/)

### `Optional`timestampWrites[](#timestampwrites)

timestampWrites?: [GPURenderPassTimestampWrites](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GPURenderPassTimestampWrites/)
