Method | Description | |
---|---|---|
FromFile ( GraphicsDevice device, string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
FromFile ( GraphicsDevice device, string file, bool premultiplyAlpha ) : Microsoft.Xna.Framework.Graphics.Texture2D |
public static FromFile ( GraphicsDevice device, string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
device | GraphicsDevice | |
file | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static FromFile ( GraphicsDevice device, string file, bool premultiplyAlpha ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
device | GraphicsDevice | |
file | string | |
premultiplyAlpha | bool | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |