C# Class PsmFramework.Engines.DrawEngine2d.TiledTextures.TiledTextureManager

Inheritance: ManagerBase
Datei anzeigen Open project: artwallace/PsmFramework Class Usage Examples

Public Methods

Method Description
CreateTiledTexture ( String key, Texture2dPlus texture, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : TiledTexture
CreateTiledTexture ( String path, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : TiledTexture
GetTiledTexture ( String key ) : TiledTexture

Protected Methods

Method Description
Cleanup ( ) : void
Initialize ( ) : void

Private Methods

Method Description
AddUser ( String key, DrawableBase user ) : void
ApplyCachePolicyForRemovalOfUser ( String key ) : void
CleanupCachePolicies ( ) : void
CleanupTiledTextures ( ) : void
CleanupUsers ( ) : void
InitializeCachePolicies ( ) : void
InitializeTiledTextures ( ) : void
InitializeUsers ( ) : void
RegisterTiledTexture ( String key, TiledTexture texture, TextureCachePolicy cachePolicy ) : void
RemoveUser ( String key, DrawableBase user ) : void
TiledTextureManager ( DrawEngine2d drawEngine2d ) : System
UnregisterTiledTexture ( String key ) : void

Method Details

Cleanup() protected method

protected Cleanup ( ) : void
return void

CreateTiledTexture() public method

public CreateTiledTexture ( String key, Texture2dPlus texture, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : TiledTexture
key String
texture PsmFramework.Engines.DrawEngine2d.Textures.Texture2dPlus
cachePolicy TextureCachePolicy
return TiledTexture

CreateTiledTexture() public method

public CreateTiledTexture ( String path, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : TiledTexture
path String
cachePolicy TextureCachePolicy
return TiledTexture

GetTiledTexture() public method

public GetTiledTexture ( String key ) : TiledTexture
key String
return TiledTexture

Initialize() protected method

protected Initialize ( ) : void
return void