/** 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;
}