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

Data Fields

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

Detailed Description

Default values can be set using WGPU_RENDER_PASS_COLOR_ATTACHMENT_INIT as initializer.

Definition at line 3923 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderPassColorAttachment::nextInChain

Definition at line 3924 of file webgpu.h.

◆ view

WGPUTextureView WGPURenderPassColorAttachment::view

If NULL, indicates a hole in the parent WGPURenderPassDescriptor::colorAttachments array.

The INIT macro sets this to NULL.

Definition at line 3931 of file webgpu.h.

◆ depthSlice

uint32_t WGPURenderPassColorAttachment::depthSlice

The INIT macro sets this to WGPU_DEPTH_SLICE_UNDEFINED.

Definition at line 3935 of file webgpu.h.

◆ resolveTarget

WGPUTextureView WGPURenderPassColorAttachment::resolveTarget

The INIT macro sets this to NULL.

Definition at line 3939 of file webgpu.h.

◆ loadOp

WGPULoadOp WGPURenderPassColorAttachment::loadOp

The INIT macro sets this to (WGPULoadOp)0.

Definition at line 3943 of file webgpu.h.

◆ storeOp

WGPUStoreOp WGPURenderPassColorAttachment::storeOp

The INIT macro sets this to (WGPUStoreOp)0.

Definition at line 3947 of file webgpu.h.

◆ clearValue

WGPUColor WGPURenderPassColorAttachment::clearValue

The INIT macro sets this to WGPU_COLOR_INIT.

Definition at line 3951 of file webgpu.h.