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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUTextureView view
 
WGPULoadOp depthLoadOp
 
WGPUStoreOp depthStoreOp
 
float depthClearValue
 
WGPUBool depthReadOnly
 
WGPULoadOp stencilLoadOp
 
WGPUStoreOp stencilStoreOp
 
uint32_t stencilClearValue
 
WGPUBool stencilReadOnly
 

Detailed Description

Default values can be set using WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_INIT as initializer.

Definition at line 2408 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURenderPassDepthStencilAttachment::nextInChain

Definition at line 2409 of file webgpu.h.

◆ view

WGPUTextureView WGPURenderPassDepthStencilAttachment::view

Defaults to NULL.

Definition at line 2413 of file webgpu.h.

◆ depthLoadOp

WGPULoadOp WGPURenderPassDepthStencilAttachment::depthLoadOp

Defaults to WGPULoadOp_Undefined.

Definition at line 2417 of file webgpu.h.

◆ depthStoreOp

WGPUStoreOp WGPURenderPassDepthStencilAttachment::depthStoreOp

Defaults to WGPUStoreOp_Undefined.

Definition at line 2421 of file webgpu.h.

◆ depthClearValue

float WGPURenderPassDepthStencilAttachment::depthClearValue

Defaults to WGPU_DEPTH_CLEAR_VALUE_UNDEFINED.

Definition at line 2425 of file webgpu.h.

◆ depthReadOnly

WGPUBool WGPURenderPassDepthStencilAttachment::depthReadOnly

Defaults to 0.

Definition at line 2429 of file webgpu.h.

◆ stencilLoadOp

WGPULoadOp WGPURenderPassDepthStencilAttachment::stencilLoadOp

Defaults to WGPULoadOp_Undefined.

Definition at line 2433 of file webgpu.h.

◆ stencilStoreOp

WGPUStoreOp WGPURenderPassDepthStencilAttachment::stencilStoreOp

Defaults to WGPUStoreOp_Undefined.

Definition at line 2437 of file webgpu.h.

◆ stencilClearValue

uint32_t WGPURenderPassDepthStencilAttachment::stencilClearValue

Defaults to 0.

Definition at line 2441 of file webgpu.h.

◆ stencilReadOnly

WGPUBool WGPURenderPassDepthStencilAttachment::stencilReadOnly

Defaults to 0.

Definition at line 2445 of file webgpu.h.