Enum bgfx.ClearFlags | Project Tiny | 0.32.0-preview.54
docs.unity3d.com
    Show / Hide Table of Contents

    Enum bgfx.ClearFlags

    Namespace: Bgfx
    Syntax
    [Flags]
    public enum ClearFlags : ushort

    Fields

    Name Description Value
    None

    No clear flags.

    0
    Color

    Clear color.

    1
    Depth

    Clear depth.

    2
    Stencil

    Clear stencil.

    4
    DiscardColor0

    Discard frame buffer attachment 0.

    8
    DiscardColor1

    Discard frame buffer attachment 1.

    16
    DiscardColor2

    Discard frame buffer attachment 2.

    32
    DiscardColor3

    Discard frame buffer attachment 3.

    64
    DiscardColor4

    Discard frame buffer attachment 4.

    128
    DiscardColor5

    Discard frame buffer attachment 5.

    256
    DiscardColor6

    Discard frame buffer attachment 6.

    512
    DiscardColor7

    Discard frame buffer attachment 7.

    1024
    DiscardColorMask 2040
    DiscardDepth

    Discard frame buffer depth attachment.

    2048
    DiscardStencil

    Discard frame buffer stencil attachment.

    4096
    DiscardMask 8184
    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