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

    Enum bgfx.CapsFormatFlags

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

    Fields

    Name Description Value
    TextureNone

    Texture format is not supported.

    0
    Texture2d

    Texture format is supported.

    1
    Texture2dSrgb

    Texture as sRGB format is supported.

    2
    Texture2dEmulated

    Texture format is emulated.

    4
    Texture3d

    Texture format is supported.

    8
    Texture3dSrgb

    Texture as sRGB format is supported.

    16
    Texture3dEmulated

    Texture format is emulated.

    32
    TextureCube

    Texture format is supported.

    64
    TextureCubeSrgb

    Texture as sRGB format is supported.

    128
    TextureCubeEmulated

    Texture format is emulated.

    256
    TextureVertex

    Texture format can be used from vertex shader.

    512
    TextureImage

    Texture format can be used as image from compute shader.

    1024
    TextureFramebuffer

    Texture format can be used as frame buffer.

    2048
    TextureFramebufferMsaa

    Texture format can be used as MSAA frame buffer.

    4096
    TextureMsaa

    Texture can be sampled as MSAA.

    8192
    TextureMipAutogen

    Texture format supports auto-generated mips.

    16384
    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