menu
GpuRenderPassDescriptor
import { GpuRenderPassDescriptor } from "destack:gpu/binding";
Render pass descriptor.
1export struct GpuRenderPassDescriptor {2 label: string;3 colorAttachments: [GpuRenderPassColorAttachment];4 depthStencil: GpuRenderPassDepthStencilAttachment;5 timestampWrites: GpuPassTimestampWrites;6 occlusionQuerySet: GpuQuerySetHandle;7}Members
label: stringDebug label.
colorAttachments: [GpuRenderPassColorAttachment]Render-pass color attachments.
depthStencil: GpuRenderPassDepthStencilAttachmentRender-pass depth-stencil attachment descriptor when provided.
timestampWrites: GpuPassTimestampWritesTimestamp-write descriptor when enabled.
occlusionQuerySet: GpuQuerySetHandlePass-wide occlusion query set when enabled.