C# Class Treefrog.Render.TextureCache

Inheritance: IDisposable
Show file Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Release ( System.Guid uid ) : void
ReleaseAll ( ) : void
Resolve ( System.Guid textureId ) : Microsoft.Xna.Framework.Graphics.Texture2D
TextureCache ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GraphicsDeviceLost ( object sender, EventArgs e ) : void
SourcePoolResourceInvalidated ( object sender, ResourceEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

Release() public method

public Release ( System.Guid uid ) : void
uid System.Guid
return void

ReleaseAll() public method

public ReleaseAll ( ) : void
return void

Resolve() public method

public Resolve ( System.Guid textureId ) : Microsoft.Xna.Framework.Graphics.Texture2D
textureId System.Guid
return Microsoft.Xna.Framework.Graphics.Texture2D

TextureCache() public method

public TextureCache ( ) : System
return System