Skip to content

Commit

Permalink
BufferPair - javadoc and checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dave2s committed Aug 25, 2019
1 parent ce40db1 commit 4af9edc
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -19,14 +19,16 @@
import org.terasology.rendering.opengl.FBO;

/**
*
* This class represents BufferPair, a pair of FBO buffers, which represent a main render target.
* A pair so you can read from one while you write into the other.
* BufferPair is used as Data type for DependencyConnection extending class - BufferPairConnection.
*/
public class BufferPair {

private Pair<FBO,FBO> bufferPair;
private Pair<FBO, FBO> bufferPair;

public BufferPair(FBO primaryBuffer, FBO secondaryBuffer) {
this.bufferPair = new Pair(primaryBuffer,secondaryBuffer);
this.bufferPair = new Pair(primaryBuffer, secondaryBuffer);
}

public FBO getPrimaryFbo() {
Expand Down

0 comments on commit 4af9edc

Please sign in to comment.