/** Call this when application is exiting. */ public void dispose() { if (disposeFBO) frameBuffer.dispose(); fullScreenQuad.dispose(); pingPongBuffer1.dispose(); pingPongBuffer2.dispose(); blurShader.dispose(); bloomShader.dispose(); tresholdShader.dispose(); }
@Override public void dispose() { texture.dispose(); vbo.dispose(); indices.dispose(); shader.dispose(); }
public void dispose() { blurTargetA.dispose(); blurTargetB.dispose(); blurShader.dispose(); batch.dispose(); shapeRenderer.dispose(); }
/** Disposes all resources associated with this SpriteBatch */ public void dispose() { for (int i = 0; i < buffers.length; i++) buffers[i].dispose(); if (ownsShader && shader != null) shader.dispose(); }
@Override public void dispose() { mesh.dispose(); shader.dispose(); }
public static void dispose() { consolasFont.dispose(); fontDistanceFieldShader.dispose(); Gdx.app.log("Assets", "Finished disposing assets"); }
@Override public void dispose() { batch.dispose(); shaderMonochrome.dispose(); }
public void dispose() { program.dispose(); }