csharp
public readonly record struct WgpuDepthStencilStateThe depth and stencil state of a render pipeline.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (10)
public WgpuTextureFormat FormatThe depth attachment's format.
public bool DepthWriteEnabledWhether depth is written.
public WgpuCompareFunction DepthCompareThe depth comparison.
public WgpuStencilFaceState FrontThe stencil test for front faces.
public WgpuStencilFaceState BackThe stencil test for back faces.
public uint StencilReadMaskWhich stencil bits the comparison sees.
public uint StencilWriteMaskWhich stencil bits may be written.
public int DepthBiasA constant added to depth.
public float DepthBiasSlopeScaleA factor on the polygon's depth slope.
public float DepthBiasClampThe largest bias that may be applied.
Methods (1)
public WgpuDepthStencilState(WgpuTextureFormat Format, bool DepthWriteEnabled, WgpuCompareFunction DepthCompare, WgpuStencilFaceState Front, WgpuStencilFaceState Back, uint StencilReadMask, uint StencilWriteMask, int DepthBias, float DepthBiasSlopeScale, float DepthBiasClamp)The depth and stencil state of a render pipeline.
Used by (5)
- NativeWebGpuBindingVixen.Graphics.WebGPU
- WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
- WebGpuConversionsVixen.Graphics.WebGPU
- WebGpuDeviceVixen.Graphics.WebGPU
- WgpuRenderPipelineDescriptorVixen.Graphics.WebGPU