docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StencilStateData

    Container class for stencil rendering settings.

    Inheritance
    object
    StencilStateData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)