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

    Enum bgfx.DiscardFlags

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

    Fields

    Name Description Value
    None

    Preserve everything.

    0
    Bindings

    Discard texture sampler and buffer bindings.

    1
    IndexBuffer

    Discard index buffer.

    2
    InstanceData

    Discard instance data.

    4
    State

    Discard state.

    8
    Transform

    Discard transform.

    16
    VertexStreams

    Discard vertex streams.

    32
    All

    Discard all states.

    255
    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