PlatformEffect

constructor(effect: Effect)(source)

Wraps an effect that runs as its own pass over the frame.

Parameters

effect

The media3 effect to apply.


constructor(newOverlay: () -> TextureOverlay)(source)

Wraps an overlay, which the pipeline gathers with the overlays next to it into one blend.

Parameters

newOverlay

Builds the media3 overlay. It runs once for every graph that draws the effect, on that graph's GL thread, and has to answer a new object each time, since an overlay holds the texture of the GL context it drew in.

constructor(step: CoreImageEffect)(source)


constructor(filter: CIFilter)(source)

Wraps a single CIFilter, applied by setting the image on inputImage.

Parameters

filter

The filter to apply.

constructor(fragment: FilterFragment)(source)
constructor(pass: WebGlPass)(source)