CreateFromExternalTexture
Declaration
public static Texture2D CreateFromExternalTexture(Texture2D externalTexture, Nullable<TextureFormat> outputFormat = null)
Parameters
| Name | Type | Summary |
|---|---|---|
| externalTexture | Texture2D | The source external/native texture to copy from. |
| outputFormat | Nullable<TextureFormat> | Optional. The desired output texture format. If null, the format of the external texture will be used. |