apply

open override fun apply(source: Array<ColorBuffer>, target: Array<ColorBuffer>, clip: Rectangle?)(source)

Applies a filter operation using the given source and target arrays of ColorBuffer. Optionally, a clipping rectangle can be used to define the region for the filter operation.

Parameters

source

An array of ColorBuffer representing the input for the filter operation.

target

An array of ColorBuffer representing the destination where the filter result will be applied.

clip

An optional Rectangle that defines the clipping region for the filter operation.