Vixen
02b45cc4
csharp
public readonly record struct WgpuDepthStencilState

The 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 Format

    The depth attachment's format.

  • public bool DepthWriteEnabled

    Whether depth is written.

  • public WgpuCompareFunction DepthCompare

    The depth comparison.

  • public WgpuStencilFaceState Front

    The stencil test for front faces.

  • public WgpuStencilFaceState Back

    The stencil test for back faces.

  • public uint StencilReadMask

    Which stencil bits the comparison sees.

  • public uint StencilWriteMask

    Which stencil bits may be written.

  • public int DepthBias

    A constant added to depth.

  • public float DepthBiasSlopeScale

    A factor on the polygon's depth slope.

  • public float DepthBiasClamp

    The largest bias that may be applied.

Methods (1)

Used by (5)

  • NativeWebGpuBindingVixen.Graphics.WebGPU
  • WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
  • WebGpuConversionsVixen.Graphics.WebGPU
  • WebGpuDeviceVixen.Graphics.WebGPU
  • WgpuRenderPipelineDescriptorVixen.Graphics.WebGPU