# GpuRenderPassDescriptor

`import { GpuRenderPassDescriptor } from "destack:gpu/binding";`

Render pass descriptor.

```ds title="GpuRenderPassDescriptor"
export struct GpuRenderPassDescriptor {
    label: string;
    colorAttachments: [GpuRenderPassColorAttachment];
    depthStencil: GpuRenderPassDepthStencilAttachment;
    timestampWrites: GpuPassTimestampWrites;
    occlusionQuerySet: GpuQuerySetHandle;
}
```

[language/library/src/gpu/binding/command.ds:128:139](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/command.ds#L128-L139)

## Members

### `label: string`

Debug label.

### `colorAttachments: [GpuRenderPassColorAttachment]`

Render-pass color attachments.

### `depthStencil: GpuRenderPassDepthStencilAttachment`

Render-pass depth-stencil attachment descriptor when provided.

### `timestampWrites: GpuPassTimestampWrites`

Timestamp-write descriptor when enabled.

### `occlusionQuerySet: GpuQuerySetHandle`

Pass-wide occlusion query set when enabled.
