555556557558559560561562563564
@Override public void glDeleteFramebuffers (int n, IntBuffer framebuffers) { for (int i = 0; i < n; i++) { int id = framebuffers.get(); WebGLFramebuffer fb = this.frameBuffers.get(id); deallocateFrameBufferId(id); gl.deleteFramebuffer(fb); } }
632633634635636637638639640641
} @Override public void glGenFramebuffers (int n, IntBuffer framebuffers) { for (int i = 0; i < n; i++) { WebGLFramebuffer fb = gl.createFramebuffer(); int id = allocateFrameBufferId(fb); framebuffers.put(id); } }
569570571572573574575576577578
646647648649650651652653654655