Пример #1
0
        private void Game_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            chainRenderer?.Dispose();
            player?.Dispose();
            enemy?.Dispose();
            arena?.Dispose();

            texScratch?.Dispose();
            screenQuad?.Dispose();

            playButton?.Dispose();
            exitButton?.Dispose();
            fplayButton?.Dispose();
            fexitButton?.Dispose();
            ggjIcon?.Dispose();

            shdTexture?.Dispose();
            shdFloor?.Dispose();
            shdBackground?.Dispose();
            shdFinalpass?.Dispose();
            shdUserInterface?.Dispose();
            shdBloodyScreen?.Dispose();

            audioPlayer?.Dispose();
        }
Пример #2
0
 public void Dispose()
 {
     vbo?.Dispose();
     mapTexture?.Dispose();
     glowmapTexture?.Dispose();
 }
 public void Dispose()
 {
     texture?.Dispose();
     quad?.Dispose();
 }
Пример #4
0
 public void Dispose()
 {
     texture?.Dispose();
     vbo?.Dispose();
 }