private void ReloadTextures() { textureManager.Clean(); textureManager.LoadTextureData(ConfigManager.BackgroundsFolder, "*.jpg"); textureManager.LoadTextureData(ConfigManager.BackgroundsFolder, "*.png"); }
protected override int OnCalculateSize(bool force) { //Clean and sort influence list _influences.Clean(); _influences.Sort(); //Clean and sort texture list _textures.Clean(); _textures.Sort(); _linker = ModelLinker.Prepare(this); return(ModelEncoder.CalcSize(_linker)); }