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

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