C# Class ActiveTextureManagement.CacheController

Show file Open project: rbray89/ActiveTextureManagement Class Usage Examples

Public Methods

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

Private Methods

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

Method Details

FetchCacheTexture() public static method

public static FetchCacheTexture ( TexInfo Texture, bool compress, bool mipmaps ) : TextureInfoWrapper
Texture TexInfo
compress bool
mipmaps bool
return TextureInfoWrapper

MemorySaved() public static method

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