copyTo

inline fun GpuTexture.copyTo(destination: GpuBuffer, offset: Long = 0, mipLevel: Int = 0, x: Int = 0, y: Int = 0, width: Int = getWidth(mipLevel), height: Int = getHeight(mipLevel), callback: Runnable = Runnables.doNothing())