Texture Constructor (Image)
From SFML.Net
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)
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
| Exception | Condition |
|---|---|
| LoadingFailedException |