C# Class MonoGdx.Graphics.G2D.TextureContext

Inheritance: IDisposable
Datei anzeigen Open project: jaquadro/MonoGdx Class Usage Examples

Private Properties

Property Type Description
PremultiplyTexture void
SurfaceFormatSize int

Public Methods

Method Description
Dispose ( ) : void
TextureContext ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string assetName, bool premultiplyAlpha ) : System
TextureContext ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Stream stream, bool premultiplyAlpha ) : System
TextureContext ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, string file, bool premultiplyAlpha ) : System
TextureContext ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
PremultiplyTexture ( Microsoft.Xna.Framework.Graphics.Texture2D tex ) : void
SurfaceFormatSize ( SurfaceFormat format ) : int

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

TextureContext() public method

public TextureContext ( Microsoft.Xna.Framework.Content.ContentManager contentManager, string assetName, bool premultiplyAlpha ) : System
contentManager Microsoft.Xna.Framework.Content.ContentManager
assetName string
premultiplyAlpha bool
return System

TextureContext() public method

public TextureContext ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, Stream stream, bool premultiplyAlpha ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
stream Stream
premultiplyAlpha bool
return System

TextureContext() public method

public TextureContext ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, string file, bool premultiplyAlpha ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
file string
premultiplyAlpha bool
return System

TextureContext() public method

public TextureContext ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
return System