public void Shutdown()
        {
            // Release the position object.
            Position = null;
            // Release the fps object.
            FPS = null;
            // Release the camera object.
            Camera = null;

            // Release the text object.
            Text?.Shutdown();
            Text = null;
            // Release the font shader object.
            FontShader?.Shuddown();
            FontShader = null;
            // Release the cpu object.
            CPU?.Shutdown();
            CPU = null;
            // Release the color shader object.
            ColorShader?.ShutDown();
            ColorShader = null;
            // Release the tree object.
            Terrain?.ShutDown();
            Terrain = null;
            // Release the input object.
            Input?.Shutdown();
            Input = null;
            // Release the Direct3D object.
            D3D?.ShutDown();
            D3D = null;
        }
 public void ShutDown()
 {
     // Release the font shader object.
     FontShader?.Shuddown();
     FontShader = null;
     // Release the texture shader object.
     ColorShader?.ShutDown();
     ColorShader = null;
 }
 public void ShutDown()
 {
     Camera = null;
     Timer  = null;
     ColorShader?.ShutDown();
     ColorShader = null;
     Model?.ShutDown();
     Model = null;
     D3D?.ShutDown();
     D3D = null;
 }
 public void ShutDown()
 {
     // Release the sky dome shader object.
     SkyDomeShader.ShutDown();
     SkyDomeShader = null;
     // Release the Terrain Shader ibject.
     TerrainShader?.ShutDown();
     TerrainShader = null;
     // Release the font shader object.
     FontShader?.Shuddown();
     FontShader = null;
     // Release the texture shader object.
     ColorShader?.ShutDown();
     ColorShader = null;
 }
Ejemplo n.º 5
0
        public void ShutDown()
        {
            // Release the camera object.
            Camera = null;
            Timer  = null;

            // Release the color shader object.
            ColorShader?.ShutDown();
            ColorShader = null;
            // Release the model object.
            Model?.ShutDown();
            Model = null;
            // Release the Direct3D object.
            D3D?.ShutDown();
            D3D = null;
        }