C# 클래스 PsmFramework.Engines.DrawEngine2d.Textures.TextureManager

상속: ManagerBase
파일 보기 프로젝트 열기: artwallace/PsmFramework 1 사용 예제들

공개 메소드들

메소드 설명
CreateTexture ( String key, Int32 width, Int32 height, PixelFormat pixelFormat, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : Texture2dPlus
CreateTexture ( String path, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : Texture2dPlus
GetTexture ( String key ) : Texture2dPlus
SetOpenGlTexture ( String key, Int32 index ) : void

보호된 메소드들

메소드 설명
Cleanup ( ) : void
Initialize ( ) : void

비공개 메소드들

메소드 설명
AddUser ( String key, TiledTexture user ) : void
ApplyCachePolicyForRemovalOfUser ( String key ) : void
CleanupCachePolicies ( ) : void
CleanupTextures ( ) : void
CleanupUsers ( ) : void
InitializeCachePolicies ( ) : void
InitializeTextures ( ) : void
InitializeUsers ( ) : void
RegisterTexture ( String key, Texture2dPlus texture, TextureCachePolicy cachePolicy ) : void
RemoveUser ( String key, TiledTexture user ) : void
TextureManager ( DrawEngine2d drawEngine2d ) : System
UnregisterTexture ( String key ) : void

메소드 상세

Cleanup() 보호된 메소드

protected Cleanup ( ) : void
리턴 void

CreateTexture() 공개 메소드

public CreateTexture ( String key, Int32 width, Int32 height, PixelFormat pixelFormat, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : Texture2dPlus
key String
width System.Int32
height System.Int32
pixelFormat PixelFormat
cachePolicy TextureCachePolicy
리턴 Texture2dPlus

CreateTexture() 공개 메소드

public CreateTexture ( String path, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : Texture2dPlus
path String
cachePolicy TextureCachePolicy
리턴 Texture2dPlus

GetTexture() 공개 메소드

public GetTexture ( String key ) : Texture2dPlus
key String
리턴 Texture2dPlus

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

SetOpenGlTexture() 공개 메소드

public SetOpenGlTexture ( String key, Int32 index ) : void
key String
index System.Int32
리턴 void