Post

class Post : Extension(source)

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override var enabled: Boolean
Link copied to clipboard
var inputDepthFormat: DepthFormat

The depth format to use for the input buffer

Link copied to clipboard
var inputType: ColorType

The color type to use for the input buffer

Link copied to clipboard

Intermediate buffer pool, provides automatically allocated color buffers

Link copied to clipboard
var intermediateType: ColorType

The color type to use for the intermediate color buffers

Link copied to clipboard
var outputType: ColorType

The color type to use for the output color buffer

Functions

Link copied to clipboard
open override fun afterDraw(drawer: Drawer, program: Program)
Link copied to clipboard
open override fun beforeDraw(drawer: Drawer, program: Program)
Link copied to clipboard
fun post(function: (input: ColorBuffer, output: ColorBuffer) -> Unit)

Set the post function

Link copied to clipboard
open fun setup(program: Program)
Link copied to clipboard
open fun shutdown(program: Program)