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 2943 of file webgpu.h.

Field Documentation

◆ compare

WGPUCompareFunction WGPUStencilFaceState::compare

If set to WGPUCompareFunction_Undefined, defaults to WGPUCompareFunction_Always.

The INIT macro sets this to WGPUCompareFunction_Undefined.

Definition at line 2950 of file webgpu.h.

◆ failOp

WGPUStencilOperation WGPUStencilFaceState::failOp

If set to WGPUStencilOperation_Undefined, defaults to WGPUStencilOperation_Keep.

The INIT macro sets this to WGPUStencilOperation_Undefined.

Definition at line 2957 of file webgpu.h.

◆ depthFailOp

WGPUStencilOperation WGPUStencilFaceState::depthFailOp

If set to WGPUStencilOperation_Undefined, defaults to WGPUStencilOperation_Keep.

The INIT macro sets this to WGPUStencilOperation_Undefined.

Definition at line 2964 of file webgpu.h.

◆ passOp

WGPUStencilOperation WGPUStencilFaceState::passOp

If set to WGPUStencilOperation_Undefined, defaults to WGPUStencilOperation_Keep.

The INIT macro sets this to WGPUStencilOperation_Undefined.

Definition at line 2971 of file webgpu.h.