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

    Enum bgfx.TextureFlags

    Namespace: Bgfx
    Syntax
    [Flags]
    public enum TextureFlags : ulong

    Fields

    Name Description Value
    None 0
    RtMsaaShift 36
    RtShift 36
    MsaaSample

    Texture will be used for MSAA sampling.

    34359738368
    Rt

    Render target no MSAA.

    68719476736
    RtMsaaX2

    Render target MSAAx2 mode.

    137438953472
    RtMsaaX4

    Render target MSAAx4 mode.

    206158430208
    RtMsaaX8

    Render target MSAAx8 mode.

    274877906944
    RtMsaaX16

    Render target MSAAx16 mode.

    343597383680
    RtMsaaMask 481036337152
    RtWriteOnly

    Render target will be used for writing

    549755813888
    RtMask 1030792151040
    ComputeWrite

    Texture will be used for compute write.

    17592186044416
    Srgb

    Sample texture as sRGB.

    35184372088832
    BlitDst

    Texture will be used as blit destination.

    70368744177664
    ReadBack

    Texture will be used for read back from GPU.

    140737488355328
    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