GlslContract

class GlslContract(val returnType: String, vararg val argumentTypes: String)(source)

The GLSL signature a preset slot accepts: a function returning returnType that takes argumentTypes, or, without argument types, a value of returnType such as a GLSL parameter or a texture parameter.

Constructors

Link copied to clipboard
constructor(returnType: String, vararg argumentTypes: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun accepts(parameter: DynamicParameter): Boolean

true when parameter has this signature

Link copied to clipboard
open override fun toString(): String