DirectionalBlur

class DirectionalBlur : Filter2to1(source)

Directional blur filter. Takes source image and direction buffer inputs

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Should the blur window be centered, default is false

Link copied to clipboard
var depthBufferOut: DepthBuffer?
Link copied to clipboard

Post-blur gain, default is 1.0

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Should filter use directions perpendicular to those in the direction buffer? default is false

Link copied to clipboard

Spread multiplier: the distance in pixels between sampled pixels. The default is 1.0

Link copied to clipboard
var window: Int

The sample window: how many samples to mix. The default is 5

Link copied to clipboard

Wrap around left and right edges

Link copied to clipboard

Wrap around top and bottom edges

Functions

Link copied to clipboard
open fun apply(source: Array<ColorBuffer>, target: Array<ColorBuffer>, clip: Rectangle?)
fun apply(source: Array<ColorBuffer>, target: ColorBuffer, clip: Rectangle?)
fun apply(source: Array<ColorBuffer>, target: RenderTarget, clip: Rectangle?)
fun apply(source: ColorBuffer, target: Array<ColorBuffer>, clip: Rectangle?)
fun apply(source: ColorBuffer, target: ColorBuffer, clip: Rectangle?)
fun apply(source0: ColorBuffer, source1: ColorBuffer, target: ColorBuffer, clip: Rectangle?)
Link copied to clipboard
open override fun close()
Link copied to clipboard
open fun destroy()
Link copied to clipboard
fun untrack()