SpeckleNoise

class SpeckleNoise : Filter(source)

Speckle noise filter

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var color: ColorRGBa

The color of the generated speckles

Link copied to clipboard

Density of the speckles, default is 0.1, min, 0.0, max is 1.0

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

Noisiness of the generated speckles, default is 0.0, min is 0.0, max is 1.0

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

should the output colors be multiplied by the alpha channel, default is true

Link copied to clipboard

noise seed, feed it with time to animate

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?)
Link copied to clipboard
open override fun close()
Link copied to clipboard
open fun destroy()
Link copied to clipboard
fun untrack()