Class StencilStateData
Container class for stencil rendering settings.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[Serializable]
public class StencilStateData
Fields
| Name | Description |
|---|---|
| failOperation | The stencil operation to use when the stencil test fails. |
| overrideStencilState | Used to mark whether the stencil values should be overridden or not. |
| passOperation | The stencil operation to use when the stencil test passes. |
| stencilCompareFunction | The comparison function to use. |
| stencilReference | The stencil reference value. |
| zFailOperation | The stencil operation to use when the stencil test fails because of depth. |