Files
orx/orx-filter-extension
Edwin Jakobs 5d46c2ad02 Added orx-filter-extension
- Bumped version to 0.0.11
2018-11-10 12:58:29 +01:00
..
2018-11-10 12:58:29 +01:00

orx-filter-extension

Provides extension methods for Program that can be used to provide Filters to the extend() mechanism

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
        }
    }
}