Texture2DFactoryFromRaster Method |
Creates a new texture from a
Raster.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Texture2D FromRaster(
Raster raster
)
Public Function FromRaster (
raster As Raster
) As Texture2D
public:
Texture2D^ FromRaster(
Raster^ raster
)
member FromRaster :
raster : Raster -> Texture2D
Parameters
- raster
- Type: AGI.Foundation.Graphics.ImagingRaster
The Raster to create the texture from.
Return Value
Type:
Texture2DThe
Texture2D that was created.
See Also