예제 #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 setDestTextures(GLTexture[] destTex, int n) {
   currentDestTex = destTex;
   currentFBO.setDrawBuffers(currentDestTex, n);
 }