Пример #1
0
  /** 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();
 }
Пример #3
0
  public void dispose() {
    blurTargetA.dispose();
    blurTargetB.dispose();
    blurShader.dispose();

    batch.dispose();

    shapeRenderer.dispose();
  }
Пример #4
0
 /** 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();
 }
Пример #5
0
 @Override
 public void dispose() {
   mesh.dispose();
   shader.dispose();
 }
Пример #6
0
 public static void dispose() {
   consolasFont.dispose();
   fontDistanceFieldShader.dispose();
   Gdx.app.log("Assets", "Finished disposing assets");
 }
Пример #7
0
 @Override
 public void dispose() {
   batch.dispose();
   shaderMonochrome.dispose();
 }
Пример #8
0
 public void dispose() {
   program.dispose();
 }