Bagikan melalui


Texture2D.FromStream Method

Methods for loading an image.

Overload List

Name Description
Texture2D.FromStream (GraphicsDevice, Stream) Loads texture data from a stream.
Texture2D.FromStream (GraphicsDevice, Stream, Int32, Int32, Boolean) Loads texture data from a stream.

See Also

Reference

Texture2D Class
Texture2D Members
Microsoft.Xna.Framework.Graphics Namespace