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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUTextureFormat format
 
WGPUBool depthWriteEnabled
 
WGPUCompareFunction depthCompare
 
WGPUStencilFaceState stencilFront
 
WGPUStencilFaceState stencilBack
 
uint32_t stencilReadMask
 
uint32_t stencilWriteMask
 
int32_t depthBias
 
float depthBiasSlopeScale
 
float depthBiasClamp
 

Detailed Description

Definition at line 1244 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUDepthStencilState::nextInChain

Definition at line 1245 of file webgpu.h.

◆ format

WGPUTextureFormat WGPUDepthStencilState::format

Definition at line 1246 of file webgpu.h.

◆ depthWriteEnabled

WGPUBool WGPUDepthStencilState::depthWriteEnabled

Definition at line 1247 of file webgpu.h.

◆ depthCompare

WGPUCompareFunction WGPUDepthStencilState::depthCompare

Definition at line 1248 of file webgpu.h.

◆ stencilFront

WGPUStencilFaceState WGPUDepthStencilState::stencilFront

Definition at line 1249 of file webgpu.h.

◆ stencilBack

WGPUStencilFaceState WGPUDepthStencilState::stencilBack

Definition at line 1250 of file webgpu.h.

◆ stencilReadMask

uint32_t WGPUDepthStencilState::stencilReadMask

Definition at line 1251 of file webgpu.h.

◆ stencilWriteMask

uint32_t WGPUDepthStencilState::stencilWriteMask

Definition at line 1252 of file webgpu.h.

◆ depthBias

int32_t WGPUDepthStencilState::depthBias

Definition at line 1253 of file webgpu.h.

◆ depthBiasSlopeScale

float WGPUDepthStencilState::depthBiasSlopeScale

Definition at line 1254 of file webgpu.h.

◆ depthBiasClamp

float WGPUDepthStencilState::depthBiasClamp

Definition at line 1255 of file webgpu.h.