copyTo

expect abstract fun copyTo(target: ColorBuffer, fromLevel: Int = 0, toLevel: Int = 0, sourceRectangle: IntRectangle, targetRectangle: IntRectangle, filter: MagnifyingFilter = MagnifyingFilter.NEAREST)(source)
expect abstract fun copyTo(target: ColorBuffer, fromLevel: Int = 0, toLevel: Int = 0, filter: MagnifyingFilter = MagnifyingFilter.NEAREST)(source)

expect abstract fun copyTo(target: ArrayTexture, layer: Int, fromLevel: Int = 0, toLevel: Int = 0)(source)

copies contents to a target array texture

Parameters

target

the color buffer to which contents will be copied

layer

the array layer from which will be copied

fromLevel

the mip-map level from which will be copied

toLevel

the mip-map level of target to which will be copied

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

actual abstract fun copyTo(target: ArrayTexture, layer: Int, fromLevel: Int, toLevel: Int)(source)

copies contents to a target array texture

Parameters

target

the color buffer to which contents will be copied

layer

the array layer from which will be copied

fromLevel

the mip-map level from which will be copied

toLevel

the mip-map level of target to which will be copied

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

copies contents to a target color buffer

Parameters

target

the color buffer to which contents will be copied

fromLevel

the mip-map level from which will be copied

toLevel

the mip-map level of target to which will be copied

sourceRectangle

rectangle in pixel units that specifies where to read from

targetRectangle

rectangle in pixel units that specifies where to write to

filter

filter to use for copying


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