Enum bgfx.TextureFlags | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021