Beispiel #1
0
 void init(GlContext glContext, Texture texture) {
   this.glContext = glContext;
   this.width = glContext.getWidth();
   this.height = glContext.getHeight();
   this.rootFrameBuffer = FrameBuffer.obtain(texture);
 }
Beispiel #2
0
 void init(GlContext glContext, int externalRootFrameBuffer) {
   this.glContext = glContext;
   this.width = glContext.getWidth();
   this.height = glContext.getHeight();
   this.externalRootFrameBuffer = externalRootFrameBuffer;
 }