FunctionDelegate1

class FunctionDelegate1<RT : GenType, F : Func<RT>, P1 : Variable>(funcType: (GlslGenerator) -> F, param1: (GlslGenerator) -> P1, body: (P1) -> RT)

Constructors

Link copied to clipboard
fun <RT : GenType, F : Func<RT>, P1 : Variable> FunctionDelegate1(funcType: (GlslGenerator) -> F, param1: (GlslGenerator) -> P1, body: (P1) -> RT)

Functions

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