Examples of PingPongBuffer


Examples of com.bitfire.postprocessing.utils.PingPongBuffer

  /** Creates and returns a managed PingPongBuffer buffer, just create and forget. If rebind() is called on context loss, managed
   * PingPongBuffers will be rebound for you.
   *
   * This is a drop-in replacement for the same-signature PingPongBuffer's constructor. */
  public static PingPongBuffer newPingPongBuffer (int width, int height, Format frameBufferFormat, boolean hasDepth) {
    PingPongBuffer buffer = new PingPongBuffer(width, height, frameBufferFormat, hasDepth);
    buffers.add(buffer);
    return buffer;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.