C# Class ActiveTextureManagement.CacheController

Afficher le fichier Open project: rbray89/ActiveTextureManagement Class Usage Examples

Méthodes publiques

Méthode Description
FetchCacheTexture ( TexInfo Texture, bool compress, bool mipmaps ) : TextureInfoWrapper
MemorySaved ( int originalWidth, int originalHeight, TextureFormat originalFormat, bool originalMipmaps, GameDatabase Texture ) : int

Private Methods

Méthode Description
GetMD5String ( String file ) : String
RebuildCache ( TexInfo Texture, bool compress, bool mipmaps, string hashString ) : TextureInfoWrapper

Method Details

FetchCacheTexture() public static méthode

public static FetchCacheTexture ( TexInfo Texture, bool compress, bool mipmaps ) : TextureInfoWrapper
Texture TexInfo
compress bool
mipmaps bool
Résultat TextureInfoWrapper

MemorySaved() public static méthode

public static MemorySaved ( int originalWidth, int originalHeight, TextureFormat originalFormat, bool originalMipmaps, GameDatabase Texture ) : int
originalWidth int
originalHeight int
originalFormat TextureFormat
originalMipmaps bool
Texture GameDatabase
Résultat int