CompositeFilterBuilder

class CompositeFilterBuilder<F0 : Filter, F1 : Filter>(val first: F0, val second: F1)(source)

Constructors

Link copied to clipboard
constructor(first: F0, second: F1)

Properties

Link copied to clipboard
val first: F0
Link copied to clipboard
val second: F1
Link copied to clipboard

Should an intermediate color buffer be used?

Functions

Link copied to clipboard
Link copied to clipboard
fun firstParameters(function: F0.() -> Unit)

Supply the function that sets the filter parameters for the first filter

Link copied to clipboard
fun firstSource(function: (source: List<ColorBuffer>) -> List<ColorBuffer>)

Supply the function that sets the source color buffers for the first filter

Link copied to clipboard
fun secondParameters(function: F1.() -> Unit)

Supply the function that sets the filter parameter the second filter

Link copied to clipboard
fun secondSource(function: (source: List<ColorBuffer>, intermediate: ColorBuffer) -> List<ColorBuffer>)

Supply the function that sets the source color buffers for the second filter