Click or drag to resize

Texture2DFactory.FromRaster Method

Creates a new texture from a Raster.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public Texture2D FromRaster(
	Raster raster
)

Parameters

raster
Type: AGI.Foundation.Graphics.Imaging.Raster
The Raster to create the texture from.

Return Value

Type: Texture2D
The Texture2D that was created.
See Also