TuneBlaster_.Engine.UnloadGraphicsContent C# (CSharp) Method

UnloadGraphicsContent() protected method

Unload your graphics content. If unloadAllContent is true, you should unload content from both ResourceManagementMode pools. Otherwise, just unload ResourceManagementMode.Manual content. Manual content will get Disposed by the GraphicsDevice during a Reset.
protected UnloadGraphicsContent ( bool unloadAllContent ) : void
unloadAllContent bool Which type of content to unload.
return void
        protected override void UnloadGraphicsContent(bool unloadAllContent)
        {
            if (unloadAllContent == true)
            {
                content.Unload();
            }
        }