Class XRCpuImageFormatExtensions
Extensions to the XRCpuImage.Format enum.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public static class XRCpuImageFormatExtensions
Methods
AsTextureFormat(XRCpuImage.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 | The XRCpuImage.Format being extended. |
Returns
Type | Description |
---|---|
TextureFormat | Returns a |