WebGPU Headers: WGPURenderPassColorAttachment Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUTextureView view
 
uint32_t depthSlice
 
WGPUTextureView resolveTarget
 
WGPULoadOp loadOp
 
WGPUStoreOp storeOp
 
WGPUColor clearValue
 

Default values can be set using WGPU_RENDER_PASS_COLOR_ATTACHMENT_INIT as initializer.

Definition at line 4091 of file webgpu.h.

◆ nextInChain

◆ view

◆ depthSlice

uint32_t WGPURenderPassColorAttachment::depthSlice

◆ resolveTarget

The INIT macro sets this to NULL.

Definition at line 4107 of file webgpu.h.

◆ loadOp

◆ storeOp

◆ clearValue

WGPUColor WGPURenderPassColorAttachment::clearValue