menu

GpuRenderPassDescriptor

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

Render pass descriptor.

language/library/src/gpu/binding/command.ds:128:139
1export struct GpuRenderPassDescriptor {2    label: string;3    colorAttachments: [GpuRenderPassColorAttachment];4    depthStencil: GpuRenderPassDepthStencilAttachment;5    timestampWrites: GpuPassTimestampWrites;6    occlusionQuerySet: GpuQuerySetHandle;7}

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.