Click or drag to resize

Texture2DFactoryFromUri Method (Uri)

Creates a new texture from a URI, which can be a file, HTTP, HTTPS, or FTP source. See Raster for a list of supported raster formats.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 22.2.414.0 (22.2.414.0)
public Texture2D FromUri(
	Uri uri


Type: SystemUri
The URI of the raster to create the texture from.

Return Value

Type: Texture2D
The Texture2D that was created.
See Also