Enum bgfx.BufferFlags | Project Tiny Rendering | 0.25.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Enum bgfx.BufferFlags

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

    Fields

    Name Description
    AllowResize

    Allow dynamic index/vertex buffer resize during update.

    ComputeFormat16x1

    1 16-bit value

    ComputeFormat16x2

    2 16-bit values

    ComputeFormat16x4

    4 16-bit values

    ComputeFormat32x1

    1 32-bit value

    ComputeFormat32x2

    2 32-bit values

    ComputeFormat32x4

    4 32-bit values

    ComputeFormat8x1

    1 8-bit value

    ComputeFormat8x2

    2 8-bit values

    ComputeFormat8x4

    4 8-bit values

    ComputeFormatMask
    ComputeFormatShift
    ComputeRead

    Buffer will be read by shader.

    ComputeReadWrite
    ComputeTypeFloat

    Type float.

    ComputeTypeInt

    Type int.

    ComputeTypeMask
    ComputeTypeShift
    ComputeTypeUint

    Type uint.

    ComputeWrite

    Buffer will be used for writing.

    DrawIndirect

    Buffer will be used for storing draw indirect commands.

    Index32

    Index buffer contains 32-bit indices.

    None
    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