WebGPU Headers: WGPURenderPassDepthStencilAttachment Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUTextureView view
 
WGPULoadOp depthLoadOp
 
WGPUStoreOp depthStoreOp
 
float depthClearValue
 
WGPUBool depthReadOnly
 
WGPULoadOp stencilLoadOp
 
WGPUStoreOp stencilStoreOp
 
uint32_t stencilClearValue
 
WGPUBool stencilReadOnly
 

Default values can be set using WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_INIT as initializer.

Definition at line 2568 of file webgpu.h.

◆ nextInChain

◆ view

The INIT macro sets this to NULL.

Definition at line 2573 of file webgpu.h.

◆ depthLoadOp

WGPULoadOp WGPURenderPassDepthStencilAttachment::depthLoadOp

◆ depthStoreOp

WGPUStoreOp WGPURenderPassDepthStencilAttachment::depthStoreOp

◆ depthClearValue

float WGPURenderPassDepthStencilAttachment::depthClearValue

◆ depthReadOnly

WGPUBool WGPURenderPassDepthStencilAttachment::depthReadOnly

The INIT macro sets this to WGPU_FALSE.

Definition at line 2596 of file webgpu.h.

◆ stencilLoadOp

WGPULoadOp WGPURenderPassDepthStencilAttachment::stencilLoadOp

◆ stencilStoreOp

WGPUStoreOp WGPURenderPassDepthStencilAttachment::stencilStoreOp

◆ stencilClearValue

uint32_t WGPURenderPassDepthStencilAttachment::stencilClearValue

The INIT macro sets this to 0.

Definition at line 2608 of file webgpu.h.

◆ stencilReadOnly

WGPUBool WGPURenderPassDepthStencilAttachment::stencilReadOnly

The INIT macro sets this to WGPU_FALSE.

Definition at line 2612 of file webgpu.h.