DirectionalDisplace

class DirectionalDisplace : Filter2to1(source)

Directional displace filter. Takes source image and direction buffer inputs

Constructors

Link copied to clipboard
constructor()

Properties

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

The distance of the sampled pixel. The default is 1.0

Link copied to clipboard

Post-displace 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

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()