docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FormatSupported

    FormatSupported(XRCpuImage, TextureFormat)

    Determines whether a given TextureFormat is supported for image conversion.

    Declaration
    public virtual bool FormatSupported(XRCpuImage image, TextureFormat format)
    Parameters
    Type Name Description
    XRCpuImage image

    The XRCpuImage to convert.

    TextureFormat format

    The UnityEngine.TextureFormat to test.

    Returns
    Type Description
    bool

    Returns true if image can be converted to format. Returns false otherwise.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023