SFML.Graphics.Texture.Texture C# (CSharp) Method

Texture() public method

Construct the texture from an image
public Texture ( Image image ) : System
image Image Image to load to the texture
return System
        public Texture(Image image) :
            this(image, new IntRect(0, 0, 0, 0))
        {
        }

Same methods

Texture::Texture ( Image image, IntRect area ) : System
Texture::Texture ( IntPtr cPointer ) : System
Texture::Texture ( Stream stream ) : System
Texture::Texture ( Stream stream, IntRect area ) : System
Texture::Texture ( Texture copy ) : System
Texture::Texture ( byte bytes ) : System
Texture::Texture ( string filename ) : System
Texture::Texture ( string filename, IntRect area ) : System
Texture::Texture ( uint width, uint height ) : System