public void Unload(ContentCache cache) { Log.Write(this, "Unloading texture resource for video sprite."); cache.Unload(resource, out texture); pixelData = null; Loaded = false; }
public void Unload(ContentCache cache) { cache.Unload(resource, out font); Loaded = false; }
public virtual void Unload(ContentCache cache) { Log.Write(this, "Unloading game sky."); cache.Unload(resource, out model); Loaded = false; }
public virtual void Unload(ContentCache cache) { Log.Write(this, "Unloading game terrain."); cache.Unload(resource, out model); heightMap = null; Loaded = false; }
public void Unload(ContentCache cache) { Log.Write(this, "Unloading effect resource for the video particle effect."); cache.Unload(resource, out config); config = null; particles = null; vertexDeclaration = null; vertexBuffer = null; Loaded = false; }
public override void Unload(ContentCache cache) { Log.Write(this, "Unloading model resource for video model."); cache.Unload(resource, out model); }
public virtual void Unload(ContentCache cache) { cache.Unload(resource, out texture); Loaded = false; }
public void Unload(ContentCache cache) { cache.Unload(@"Models\skydome", out dome); cache.Unload(@"Effects\atmosphere", out effect); cache.Unload(@"Textures\daysky", out day); cache.Unload(@"Textures\sunset", out sunset); cache.Unload(@"Textures\nightsky", out night); }
public virtual void Unload(ContentCache cache) { Log.Write(this, "Unloading game terrain."); cache.Unload(modelResource, out model); cache.Unload(textureResource, out texture); cache.Unload(effectResource, out effect); heightMap = null; Loaded = false; }