C# Class Treefrog.Framework.Model.MetaTexturePool

Inheritance: ITexturePool
Exibir arquivo Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
AddPool ( System.Guid libraryUid, ITexturePool pool ) : void
AddResource ( TextureResource resource ) : void
Contains ( System.Guid uid ) : bool
GetPool ( System.Guid libraryUid ) : ITexturePool
GetResource ( System.Guid uid ) : TextureResource
Invalidate ( System.Guid uid ) : void
MetaTexturePool ( ) : System
RemovePool ( System.Guid libraryUid ) : bool
RemoveResource ( System.Guid uid ) : void

Private Methods

Method Description
HandleResourceAdded ( object sender, ResourceEventArgs e ) : void
HandleResourceInvalidated ( object sender, ResourceEventArgs e ) : void
HandleResourceRemoved ( object sender, ResourceEventArgs e ) : void
MapAndCheckUid ( System.Guid libraryUid ) : System.Guid

Method Details

AddPool() public method

public AddPool ( System.Guid libraryUid, ITexturePool pool ) : void
libraryUid System.Guid
pool ITexturePool
return void

AddResource() public method

public AddResource ( TextureResource resource ) : void
resource Treefrog.Framework.Imaging.TextureResource
return void

Contains() public method

public Contains ( System.Guid uid ) : bool
uid System.Guid
return bool

GetPool() public method

public GetPool ( System.Guid libraryUid ) : ITexturePool
libraryUid System.Guid
return ITexturePool

GetResource() public method

public GetResource ( System.Guid uid ) : TextureResource
uid System.Guid
return Treefrog.Framework.Imaging.TextureResource

Invalidate() public method

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

MetaTexturePool() public method

public MetaTexturePool ( ) : System
return System

RemovePool() public method

public RemovePool ( System.Guid libraryUid ) : bool
libraryUid System.Guid
return bool

RemoveResource() public method

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