docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SupportsGraphicsFormat

    SupportsGraphicsFormat(GraphicsFormat, FormatUsage)

    Checks if a texture format is supported by the run-time system. Similar to UnityEngine.SystemInfo.IsFormatSupported(UnityEngine.Experimental.Rendering.GraphicsFormat, UnityEngine.Experimental.Rendering.FormatUsage), but doesn't allocate memory.

    Declaration
    public static bool SupportsGraphicsFormat(GraphicsFormat format, FormatUsage usage)
    Parameters
    Type Name Description
    GraphicsFormat format

    The format to look up.

    FormatUsage usage

    The format usage to look up.

    Returns
    Type Description
    bool

    Returns true if the graphics card supports the given GraphicsFormat

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)