Enum bgfx.StencilFlags | Project Tiny Rendering | 0.21.0-preview.4
docs.unity3d.com
    Show / Hide Table of Contents

    Enum bgfx.StencilFlags

    Namespace: Bgfx
    Syntax
    [Flags]
    public enum StencilFlags : uint

    Fields

    Name Description
    Default
    FuncRefMask
    FuncRefShift
    FuncRmaskMask
    FuncRmaskShift
    Mask
    None
    OpFailSDecr

    Decrement and wrap.

    OpFailSDecrsat

    Decrement and clamp.

    OpFailSIncr

    Increment and wrap.

    OpFailSIncrsat

    Increment and clamp.

    OpFailSInvert

    Invert.

    OpFailSKeep

    Keep.

    OpFailSMask
    OpFailSReplace

    Replace.

    OpFailSShift
    OpFailSZero

    Zero.

    OpFailZDecr

    Decrement and wrap.

    OpFailZDecrsat

    Decrement and clamp.

    OpFailZIncr

    Increment and wrap.

    OpFailZIncrsat

    Increment and clamp.

    OpFailZInvert

    Invert.

    OpFailZKeep

    Keep.

    OpFailZMask
    OpFailZReplace

    Replace.

    OpFailZShift
    OpFailZZero

    Zero.

    OpPassZDecr

    Decrement and wrap.

    OpPassZDecrsat

    Decrement and clamp.

    OpPassZIncr

    Increment and wrap.

    OpPassZIncrsat

    Increment and clamp.

    OpPassZInvert

    Invert.

    OpPassZKeep

    Keep.

    OpPassZMask
    OpPassZReplace

    Replace.

    OpPassZShift
    OpPassZZero

    Zero.

    TestAlways

    Enable stencil test, always.

    TestEqual

    Enable stencil test, equal.

    TestGequal

    Enable stencil test, greater or equal.

    TestGreater

    Enable stencil test, greater.

    TestLequal

    Enable stencil test, less or equal.

    TestLess

    Enable stencil test, less.

    TestMask
    TestNever

    Enable stencil test, never.

    TestNotequal

    Enable stencil test, not equal.

    TestShift
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023