Esempio n. 1
0
 protected override void OnUnload()
 {
     vertexBuffer.Dispose();
     fbo1.Dispose();
     fbo2.Dispose();
     simProgram.Dispose();
     drawProgram.Dispose();
 }
Esempio n. 2
0
 protected override void OnUnload()
 {
     trianglesBuffer.Dispose();
     quadBuffer.Dispose();
     shaderProgram.Dispose();
     background.Dispose();
     satellite.Dispose();
 }
 protected override void OnUnload()
 {
     shaderProgram.Dispose();
     particleTexture.Dispose();
     rectangleTexture.Dispose();
     ballTexture.Dispose();
     diamondTexture.Dispose();
     arialFont.Dispose(); // both fonts share texture, disposing one disposes both.
     textureBatcher.Dispose();
 }
Esempio n. 4
0
        protected override void OnUnload()
        {
            crossBuffer.Dispose();
            linesBuffer.Dispose();
            linesProgram.Dispose();

            modelsProgram.Dispose();
            dragonBuffer.Dispose();
            donutBuffer.Dispose();
            sphereBuffer.Dispose();

            lampProgram.Dispose();
            lampBuffer.Dispose();
            lampTexture.Dispose();

            skyProgram.Dispose();
            cubeBuffer.Dispose();
        }
Esempio n. 5
0
 protected override void OnUnload()
 {
     vertexBuffer.Dispose();
     shaderProgram.Dispose();
 }