53645365536653675368536953705371537253735374
} int offset = (tilew * tileh * imgZOffset + tilew * imgYOffset + imgXOffset) * numBytes; buf.position(offset); gl.glTexSubImage3D(GL2.GL_TEXTURE_3D, level, xoffset, yoffset, zoffset, width, height, depth, format, GL.GL_UNSIGNED_BYTE, buf);
54175418541954205421542254235424542554265427
} int offset = tilew * tileh * imgZOffset + tilew * imgYOffset + imgXOffset; buf.position(offset); gl.glTexSubImage3D(GL2.GL_TEXTURE_3D, level, xoffset, yoffset, zoffset, width, height, depth, format, type, buf);