TextureCube.FromFile Method
Creates a cube texture resource from a file.
Overload List
Name | Description |
---|---|
TextureCube.FromFile (GraphicsDevice, Stream) | Creates a cube texture resource from a stream. |
TextureCube.FromFile (GraphicsDevice, Stream, Int32) | Creates a texture resource from a stream, specifying the number of bytes in the stream. |
TextureCube.FromFile (GraphicsDevice, Stream, Int32, TextureCreationParameters) | Creates a texture resource from a stream, specifying the number of bytes in the stream and the texture creation parameters to use. |
TextureCube.FromFile (GraphicsDevice, Stream, TextureCreationParameters) | Creates a texture resource from a stream, specifying the parameters to be used in creation of the texture. |
TextureCube.FromFile (GraphicsDevice, String) | Creates a cube texture resource from a file. |
TextureCube.FromFile (GraphicsDevice, String, Int32) | Creates a cube texture resource from a file, specifying the width and height of the texture in pixels. |
TextureCube.FromFile (GraphicsDevice, String, TextureCreationParameters) | Creates a texture resource from a file, specifying the parameters to be used in creation of the texture. |
TextureCube.FromFile (GraphicsDevice, String, Int32, Int32, Int32) | (Inherited from Texture.) |
Remarks
The supported texture image file formats are described by the ImageFileFormat enumeration.
See Also
Reference
TextureCube Class
TextureCube Members
Microsoft.Xna.Framework.Graphics Namespace