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

Texture() public method

Construct the texture from a file in a stream
public Texture ( Stream stream ) : System
stream Stream Stream containing the file contents
return System
        public Texture(Stream stream) :
            this(stream, new IntRect(0, 0, 0, 0))
        {
        }

Same methods

Texture::Texture ( Image image ) : System
Texture::Texture ( Image image, IntRect area ) : System
Texture::Texture ( IntPtr cPointer ) : 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