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 4009 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPURenderPassColorAttachment::nextInChain

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

◆ depthSlice

uint32_t WGPURenderPassColorAttachment::depthSlice

The INIT macro sets this to WGPU_DEPTH_SLICE_UNDEFINED.

Definition at line 4021 of file webgpu.h.

◆ resolveTarget

WGPUTextureView WGPURenderPassColorAttachment::resolveTarget

The INIT macro sets this to NULL.

Definition at line 4025 of file webgpu.h.

◆ loadOp

WGPULoadOp WGPURenderPassColorAttachment::loadOp

The INIT macro sets this to (WGPULoadOp)0.

Definition at line 4029 of file webgpu.h.

◆ storeOp

WGPUStoreOp WGPURenderPassColorAttachment::storeOp

The INIT macro sets this to (WGPUStoreOp)0.

Definition at line 4033 of file webgpu.h.

◆ clearValue

WGPUColor WGPURenderPassColorAttachment::clearValue

The INIT macro sets this to WGPU_COLOR_INIT.

Definition at line 4037 of file webgpu.h.