Filter2to2
A filter extension class that applies a two-source to two-target fragment shader. This class facilitates the rendering of graphical effects involving two input ColorBuffer
sources and two output ColorBuffer
targets, using a specified Shader
for processing.
Parameters
An optional Shader
instance that implements the rendering logic. Pass null
to rely on default behavior.
Constructors
Functions
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.
Applies a filter operation using the given source array of ColorBuffer
and the target ColorBuffer
. Optionally, a clipping rectangle can be used to define the region for the filter operation.
Applies a filter operation using the given source and target using a shader program. Optionally, a clipping rectangle can be used to define the region for the filter operation. Custom shader parameters are applied where applicable.
Applies a filter operation using the given source ColorBuffer
and target array of ColorBuffer
. Optionally, a clipping rectangle can be used to define the region for the filter operation.