Copy

A specialized filter that performs a direct 1-to-1 copy of image data. It utilizes a shader for processing, with the shader being generated from predefined code using the filterShaderFromCode function.

The Copy class inherits from Filter1to1, which is a base class for filters that map one input to one output using a shader.

Constructors

Link copied to clipboard
constructor()

Properties

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

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