Filter2to1
A class representing a 2-to-1 filter that applies a shader operation using two input sources and a single target output.
Parameters
An optional shader instance, defining the filter's processing logic.
An optional shader watcher instance to track and manage shader changes.
Inheritors
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.
Applies a shader-based operation to two input color buffers and writes the result to a target color buffer.