Esempio n. 1
0
        /// <summary>
        /// UnloadContent will be called once per game and is the place to unload
        /// all content.
        /// </summary>
        protected override void UnloadContent()
        {
            // Save current scenes.
            m_scene.WriteToFile(SampleSceneFilePath);

            m_renderer.ClearScene();
        }