copyTo

open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, filter: MagnifyingFilter)(source)
open override fun copyTo(target: ArrayTexture, layer: Int, fromLevel: Int, toLevel: Int)(source)


open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, sourceRectangle: IntRectangle, targetRectangle: IntRectangle, filter: MagnifyingFilter)(source)

Copies sourceRectangle of level fromLevel to targetRectangle of level toLevel of target, like the GL3 back-end under OpenGL ES: unscaled copies between single sampled color buffers of the same format and type use copyTexSubImage2D, other unscaled copies that WebGL can blit are blitted, everything else is drawn, which scales with filter and converts between sRGB and linear, fixed and floating point formats, and to multisampled color buffers.