Texture2DFactoryFromUri Method (String) |
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: 24.2.419.0 (24.2.419.0)
Syntax public Texture2D FromUri(
string uri
)
Public Function FromUri (
uri As String
) As Texture2D
public:
Texture2D^ FromUri(
String^ uri
)
member FromUri :
uri : string -> Texture2D
Parameters
- uri
- Type: SystemString
The URI of the raster to create the texture from.
Return Value
Type:
Texture2DThe
Texture2D that was created.
See Also