FunctionDelegate2

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

Constructors

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

Functions

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