docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AsTextureFormat

    AsTextureFormat(Format)

    Attempts to convert an XRCpuImage.Format to a UnityEngine.TextureFormat.

    Declaration
    public static TextureFormat AsTextureFormat(this XRCpuImage.Format @this)
    Parameters
    Type Name Description
    XRCpuImage.Format this

    Defines an extension of XRCpuImage.Format.

    Returns
    Type Description
    TextureFormat

    Returns a texture format that matches this if possible. Returns 0 if there is no matching texture format.

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