WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 4020 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderPassColorAttachment::nextInChain

Definition at line 4021 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 4028 of file webgpu.h.

◆ depthSlice

uint32_t WGPURenderPassColorAttachment::depthSlice

The INIT macro sets this to WGPU_DEPTH_SLICE_UNDEFINED.

Definition at line 4032 of file webgpu.h.

◆ resolveTarget

WGPUTextureView WGPURenderPassColorAttachment::resolveTarget

The INIT macro sets this to NULL.

Definition at line 4036 of file webgpu.h.

◆ loadOp

WGPULoadOp WGPURenderPassColorAttachment::loadOp

The INIT macro sets this to WGPULoadOp_Undefined.

Definition at line 4040 of file webgpu.h.

◆ storeOp

WGPUStoreOp WGPURenderPassColorAttachment::storeOp

The INIT macro sets this to WGPUStoreOp_Undefined.

Definition at line 4044 of file webgpu.h.

◆ clearValue

WGPUColor WGPURenderPassColorAttachment::clearValue

The INIT macro sets this to WGPU_COLOR_INIT.

Definition at line 4048 of file webgpu.h.