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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUStringView label
 
size_t colorAttachmentCount
 
WGPURenderPassColorAttachment const * colorAttachments
 
WGPURenderPassDepthStencilAttachment const * depthStencilAttachment
 
WGPUQuerySet occlusionQuerySet
 
WGPURenderPassTimestampWrites timestampWrites
 

Detailed Description

Default values can be set using WGPU_RENDER_PASS_DESCRIPTOR_INIT as initializer.

Definition at line 3974 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURenderPassDescriptor::nextInChain

Definition at line 3975 of file webgpu.h.

◆ label

WGPUStringView WGPURenderPassDescriptor::label

This is a Non-Null Input String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 3981 of file webgpu.h.

◆ colorAttachmentCount

size_t WGPURenderPassDescriptor::colorAttachmentCount

Defaults to NULL.

Definition at line 3985 of file webgpu.h.

◆ colorAttachments

WGPURenderPassColorAttachment const* WGPURenderPassDescriptor::colorAttachments

Definition at line 3986 of file webgpu.h.

◆ depthStencilAttachment

WGPURenderPassDepthStencilAttachment const* WGPURenderPassDescriptor::depthStencilAttachment

Defaults to NULL.

Definition at line 3990 of file webgpu.h.

◆ occlusionQuerySet

WGPUQuerySet WGPURenderPassDescriptor::occlusionQuerySet

Defaults to NULL.

Definition at line 3994 of file webgpu.h.

◆ timestampWrites

WGPURenderPassTimestampWrites WGPURenderPassDescriptor::timestampWrites

Defaults to WGPU_RENDER_PASS_TIMESTAMP_WRITES_INIT.

Definition at line 3998 of file webgpu.h.