FunctionDelegate

class FunctionDelegate<RT : GenType, F : Func<RT>>(funcType: (GlslGenerator) -> F, body: () -> RT)

Author

Colton Daily

Constructors

Link copied to clipboard
fun <RT : GenType, F : Func<RT>> FunctionDelegate(funcType: (GlslGenerator) -> F, body: () -> RT)

Functions

Link copied to clipboard
operator fun getValue(thisRef: GlslGenerator, property: KProperty<*>): () -> RT
Link copied to clipboard
operator fun provideDelegate(thisRef: GlslGenerator, property: KProperty<*>): FunctionDelegate<RT, F>