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

Data Fields

WGPUCompareFunction compare
 
WGPUStencilOperation failOp
 
WGPUStencilOperation depthFailOp
 
WGPUStencilOperation passOp
 

Detailed Description

Default values can be set using WGPU_STENCIL_FACE_STATE_INIT as initializer.

Definition at line 2734 of file webgpu.h.

Field Documentation

◆ compare

WGPUCompareFunction WGPUStencilFaceState::compare

Defaults to WGPUCompareFunction_Always.

Definition at line 2738 of file webgpu.h.

◆ failOp

WGPUStencilOperation WGPUStencilFaceState::failOp

Defaults to WGPUStencilOperation_Keep.

Definition at line 2742 of file webgpu.h.

◆ depthFailOp

WGPUStencilOperation WGPUStencilFaceState::depthFailOp

Defaults to WGPUStencilOperation_Keep.

Definition at line 2746 of file webgpu.h.

◆ passOp

WGPUStencilOperation WGPUStencilFaceState::passOp

Defaults to WGPUStencilOperation_Keep.

Definition at line 2750 of file webgpu.h.