Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Utilities.Textures ←ExternalTextureUtils

CreateFromExternalTexture


Declaration​

public static Texture2D CreateFromExternalTexture(Texture2D externalTexture, Nullable<TextureFormat> outputFormat = null)

Parameters​

NameTypeSummary
externalTextureTexture2D
The source external/native texture to copy from.
outputFormatNullable<TextureFormat>
Optional. The desired output texture format. If null, the format of the external texture will be used.