Méthode | 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 | |
Résultat | 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 | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |