apply
fun apply(source0: ColorBuffer, source1: ColorBuffer, source2: ColorBuffer, source3: ColorBuffer, target: ColorBuffer, clip: Rectangle? = null)(source)
Applies a filter that processes four source color buffers and outputs the result to a target color buffer. Optionally, a clipping rectangle can be provided to specify the area of processing.
Parameters
source0
The first input color buffer to be processed.
source1
The second input color buffer to be processed.
source2
The third input color buffer to be processed.
source3
The fourth input color buffer to be processed.
target
The target color buffer where the processed output will be written.
clip
An optional rectangular area to restrict processing, or null for no restriction.