WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPURenderPassDescriptor Struct Reference

Data Fields

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

Detailed Description

Default values can be set using WGPU_RENDER_PASS_DESCRIPTOR_INIT as initializer.

Definition at line 4319 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderPassDescriptor::nextInChain

Definition at line 4320 of file webgpu.h.

◆ label

WGPUStringView WGPURenderPassDescriptor::label

This is a Non-Null Input String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 4326 of file webgpu.h.

◆ colorAttachmentCount

size_t WGPURenderPassDescriptor::colorAttachmentCount

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

Definition at line 4330 of file webgpu.h.

◆ colorAttachments

WGPURenderPassColorAttachment const* WGPURenderPassDescriptor::colorAttachments

The INIT macro sets this to NULL.

Definition at line 4334 of file webgpu.h.

◆ depthStencilAttachment

WGPURenderPassDepthStencilAttachment const* WGPURenderPassDescriptor::depthStencilAttachment

The INIT macro sets this to NULL.

Definition at line 4338 of file webgpu.h.

◆ occlusionQuerySet

WGPUQuerySet WGPURenderPassDescriptor::occlusionQuerySet

The INIT macro sets this to NULL.

Definition at line 4342 of file webgpu.h.

◆ timestampWrites

WGPUPassTimestampWrites const* WGPURenderPassDescriptor::timestampWrites

The INIT macro sets this to NULL.

Definition at line 4346 of file webgpu.h.