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

    Enum bgfx.ClearFlags

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

    Fields

    Name Description
    Color

    Clear color.

    Depth

    Clear depth.

    DiscardColor0

    Discard frame buffer attachment 0.

    DiscardColor1

    Discard frame buffer attachment 1.

    DiscardColor2

    Discard frame buffer attachment 2.

    DiscardColor3

    Discard frame buffer attachment 3.

    DiscardColor4

    Discard frame buffer attachment 4.

    DiscardColor5

    Discard frame buffer attachment 5.

    DiscardColor6

    Discard frame buffer attachment 6.

    DiscardColor7

    Discard frame buffer attachment 7.

    DiscardColorMask
    DiscardDepth

    Discard frame buffer depth attachment.

    DiscardMask
    DiscardStencil

    Discard frame buffer stencil attachment.

    None

    No clear flags.

    Stencil

    Clear stencil.

    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