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

ReadFromExternalTexture

Reads the entirety of the source external texture into the destination texture.

Declaration

public static void ReadFromExternalTexture(this Texture externalTexture, Texture2D destinationTexture)

Summary

Reads the entirety of the source external texture into the destination texture.

Parameters

NameTypeSummary
externalTextureTexture
-
destinationTextureTexture2D
-

Overload

public static void ReadFromExternalTexture(this Texture externalTexture, Texture2D destinationTexture, Material material)

Summary

Reads the entirety of the source external texture into the destination texture using the provided material.

Parameters

NameTypeSummary
externalTextureTexture
-
destinationTextureTexture2D
-