WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 2881 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 2888 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 2895 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 2902 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 2909 of file webgpu.h.