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 |