WebGPU Headers: WGPURenderPassDescriptor Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView label
 
size_t colorAttachmentCount
 
WGPURenderPassColorAttachment const * colorAttachments
 
WGPURenderPassDepthStencilAttachment const * depthStencilAttachment
 
WGPUQuerySet occlusionQuerySet
 
WGPUPassTimestampWrites const * timestampWrites
 

Default values can be set using WGPU_RENDER_PASS_DESCRIPTOR_INIT as initializer.

Definition at line 4618 of file webgpu.h.

◆ nextInChain

◆ label

◆ colorAttachmentCount

size_t WGPURenderPassDescriptor::colorAttachmentCount

Array count for colorAttachments. The INIT macro sets this to 0.

Definition at line 4629 of file webgpu.h.

◆ colorAttachments

The INIT macro sets this to NULL.

Definition at line 4633 of file webgpu.h.

◆ depthStencilAttachment

The INIT macro sets this to NULL.

Definition at line 4637 of file webgpu.h.

◆ occlusionQuerySet

The INIT macro sets this to NULL.

Definition at line 4641 of file webgpu.h.

◆ timestampWrites

The INIT macro sets this to NULL.

Definition at line 4645 of file webgpu.h.