Texture Constructor (Image)

SFML.Net

Texture Constructor (Image)
Construct the texture from an image

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Texture(
	Image image
)
Public Sub New ( 
	image As Image
)
public:
Texture(
	Image^ image
)
new : 
        image : Image -> Texture

Parameters

image
Type: SFML.GraphicsImage
Image to load to the texture
Exceptions
ExceptionCondition
LoadingFailedException
See Also