openrndr / org.openrndr.draw / Filter

Filter

open class Filter (source)

Filter base class. Renders "full-screen" quads.

Constructors

<init>

Filter base class. Renders "full-screen" quads.

Filter(shader: Shader? = null, watcher: ShaderWatcher? = null)

Properties

depthBufferOut

var depthBufferOut: DepthBuffer?

format

val format: VertexFormat

padding

var padding: Int

parameters

parameter map

val parameters: MutableMap<String, Any>

Functions

apply

open fun apply(source: Array<ColorBuffer>, target: Array<ColorBuffer>): Unit
fun apply(source: Array<ColorBuffer>, target: RenderTarget): Unit
fun apply(source: ColorBuffer, target: ColorBuffer): Unit
fun apply(source: ColorBuffer, target: Array<ColorBuffer>): Unit
fun apply(source: Array<ColorBuffer>, target: ColorBuffer): Unit

untrack

fun untrack(): Unit

Companion Object Properties

filterVertexCode

val filterVertexCode: String

Inheritors

Delinearize

Converts from linear RGB to sRGB

class Delinearize : Filter

HybridLogGamma

Converts from linear RGB to HybridLogGamma

class HybridLogGamma : Filter

Linearize

Converts from sRGB to linear RGB

class Linearize : Filter

ShadeStyleFilter

A Filter that uses the ShadeStyle interface and language

class ShadeStyleFilter : Filter