Bind textures for reading tex: [shader offset: framebuffer index, ...] / void read(uintuint tex){ foreach(i, n; tex){ glActiveTexture(GL_TEXTURE0+i); glBindTexture(GL_TEXTURE_2D, texturesn); } }
See Implementation