protected override void OnUnload() { vertexBuffer.Dispose(); fbo1.Dispose(); fbo2.Dispose(); simProgram.Dispose(); drawProgram.Dispose(); }
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(); }
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(); }
protected override void OnUnload() { vertexBuffer.Dispose(); shaderProgram.Dispose(); }