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

    Enum bgfx.BufferFlags

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

    Fields

    Name Description Value
    ComputeFormatShift 0
    None 0
    ComputeFormat8x1

    1 8-bit value

    1
    ComputeFormat8x2

    2 8-bit values

    2
    ComputeFormat8x4

    4 8-bit values

    3
    ComputeFormat16x1

    1 16-bit value

    4
    ComputeTypeShift 4
    ComputeFormat16x2

    2 16-bit values

    5
    ComputeFormat16x4

    4 16-bit values

    6
    ComputeFormat32x1

    1 32-bit value

    7
    ComputeFormat32x2

    2 32-bit values

    8
    ComputeFormat32x4

    4 32-bit values

    9
    ComputeFormatMask 15
    ComputeTypeInt

    Type int.

    16
    ComputeTypeUint

    Type uint.

    32
    ComputeTypeFloat

    Type float.

    48
    ComputeTypeMask 48
    ComputeRead

    Buffer will be read by shader.

    256
    ComputeWrite

    Buffer will be used for writing.

    512
    ComputeReadWrite 768
    DrawIndirect

    Buffer will be used for storing draw indirect commands.

    1024
    AllowResize

    Allow dynamic index/vertex buffer resize during update.

    2048
    Index32

    Index buffer contains 32-bit indices.

    4096
    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