apply
fun apply(source0: ColorBuffer, source1: ColorBuffer, source2: ColorBuffer, target: ColorBuffer, clip: Rectangle? = null)(source)
Applies a processing operation using three input color buffers and a single output color buffer.
This function takes three source ColorBuffer objects as inputs, applies the specified filter operations on their contents, and writes the result to the target ColorBuffer. An optional clipping rectangle (clip) can be provided to restrict the processing to a specific region within the buffers.
Parameters
source0
The first input ColorBuffer to be processed.
source1
The second input ColorBuffer to be processed.
source2
The third input ColorBuffer to be processed.
target
The target ColorBuffer where the processed result is written.
clip
An optional Rectangle defining the area within the buffers to process. When null, the entire buffer is processed.