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

Data Fields

WGPUChainedStruct const * nextInChain
 
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 3691 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURenderPassColorAttachment::nextInChain

Definition at line 3692 of file webgpu.h.

◆ view

WGPUTextureView WGPURenderPassColorAttachment::view

Defaults to NULL.

Definition at line 3696 of file webgpu.h.

◆ depthSlice

uint32_t WGPURenderPassColorAttachment::depthSlice

Defaults to WGPU_DEPTH_SLICE_UNDEFINED.

Definition at line 3700 of file webgpu.h.

◆ resolveTarget

WGPUTextureView WGPURenderPassColorAttachment::resolveTarget

Defaults to NULL.

Definition at line 3704 of file webgpu.h.

◆ loadOp

WGPULoadOp WGPURenderPassColorAttachment::loadOp

Defaults to (WGPULoadOp)0.

Definition at line 3708 of file webgpu.h.

◆ storeOp

WGPUStoreOp WGPURenderPassColorAttachment::storeOp

Defaults to (WGPUStoreOp)0.

Definition at line 3712 of file webgpu.h.

◆ clearValue

WGPUColor WGPURenderPassColorAttachment::clearValue

Defaults to WGPU_COLOR_INIT.

Definition at line 3716 of file webgpu.h.