Files
orx/orx-filter-extension

orx-filter-extension

To apply graphics filters on every animation frame using extend(FILTER_NAME()).

API
fun <F : Filter> Program.extend(filter: F, configuration: F.() -> Unit = {}): Extension
Usage
fun main() = application {
    program {
        extend(FXAA()) {
            // this function is executed every frame
        }
    }
}