C# Class MonoGdx.XnaExt.Texture2D

Mostrar archivo Open project: jaquadro/MonoGdx

Public Methods

Method Description
FromFile ( GraphicsDevice device, string file ) : Microsoft.Xna.Framework.Graphics.Texture2D
FromFile ( GraphicsDevice device, string file, bool premultiplyAlpha ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

FromFile() public static method

public static FromFile ( GraphicsDevice device, string file ) : Microsoft.Xna.Framework.Graphics.Texture2D
device GraphicsDevice
file string
return Microsoft.Xna.Framework.Graphics.Texture2D

FromFile() public static method

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