Exemple #1
0
 protected void popDestTextures() {
   try {
     currentDestTex = destTexStack.pop();
     currentFBO.setDrawBuffers(currentDestTex);
   } catch (EmptyStackException e) {
     System.out.println("Empty texture stack");
   }
 }
Exemple #2
0
  protected void popFramebuffer() {
    if (!popFramebufferEnabled) return;

    try {
      currentFBO = fboStack.pop();
      currentFBO.bind();
    } catch (EmptyStackException e) {
      System.out.println("Empty framebuffer stack");
    }
  }
Exemple #3
0
 protected void pushDestTextures() {
   destTexStack.push(currentDestTex);
 }
Exemple #4
0
 protected void pushFramebuffer() {
   if (pushFramebufferEnabled) fboStack.push(currentFBO);
 }