fun copyToIntBuffer(buffer: IntBuffer, x: Int = 0, y: Int = 0, width: Int = textureWidth, height: Int = textureHeight): Unit