AttributeDelegate

class AttributeDelegate<T : Variable>(factory: (GlslGenerator) -> T, precision: Precision, predicate: Boolean)

Author

Colton Daily

Constructors

Link copied to clipboard
fun <T : Variable> AttributeDelegate(factory: (GlslGenerator) -> T, precision: Precision, predicate: Boolean)

Functions

Link copied to clipboard
operator fun getValue(thisRef: GlslGenerator, property: KProperty<*>): T
Link copied to clipboard
operator fun provideDelegate(thisRef: GlslGenerator, property: KProperty<*>): AttributeDelegate<T>