Func

data class Func(val name: String, val ops: List<Operand>, val type: VarType = VarType.Float1) : Program.BaseFunc

Constructors

Link copied to clipboard
constructor(name: String, vararg ops: Operand, type: VarType = VarType.Float1)
constructor(name: String, ops: List<Operand>, type: VarType = VarType.Float1)

Properties

Link copied to clipboard
open val Operand.a: Operand
Link copied to clipboard
open val Operand.b: Operand
Link copied to clipboard
Link copied to clipboard
open val Operand.g: Operand
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val ops: List<Operand>
Link copied to clipboard
Link copied to clipboard
open val Operand.r: Operand
Link copied to clipboard
open override val type: VarType
Link copied to clipboard
open val Operand.w: Operand
Link copied to clipboard
open val Operand.x: Operand
Link copied to clipboard
open val Operand.y: Operand
Link copied to clipboard
open val Operand.z: Operand

Functions

Link copied to clipboard
open infix fun Operand.and(that: Operand): Operand
Link copied to clipboard
Link copied to clipboard
open operator fun Operand.div(that: Operand): Operand
open operator fun Operand.div(that: Float): Operand
Link copied to clipboard
open infix fun Operand.eq(that: Operand): Operand
open infix fun Operand.eq(that: Float): Operand
Link copied to clipboard
open infix fun Operand.ge(that: Operand): Operand
open infix fun Operand.ge(that: Float): Operand
Link copied to clipboard
open operator fun Operand.get(index: Int): Operand
open operator fun Operand.get(swizzle: String): Operand
Link copied to clipboard
open infix fun Operand.gt(that: Operand): Operand
open infix fun Operand.gt(that: Float): Operand
Link copied to clipboard
open fun Operand.inRange(low: Operand, high: Operand): Operand
Link copied to clipboard
open infix fun Operand.le(that: Operand): Operand
open infix fun Operand.le(that: Float): Operand
Link copied to clipboard
open infix fun Operand.lt(that: Operand): Operand
open infix fun Operand.lt(that: Float): Operand
Link copied to clipboard
open operator fun Operand.minus(that: Operand): Operand
open operator fun Operand.minus(that: Float): Operand
Link copied to clipboard
open infix fun Operand.ne(that: Operand): Operand
open infix fun Operand.ne(that: Float): Operand
Link copied to clipboard
open fun Operand.not(): Operand
Link copied to clipboard
open infix fun Operand.or(that: Operand): Operand
Link copied to clipboard
open operator fun Operand.plus(that: Operand): Operand
open operator fun Operand.plus(that: Float): Operand
Link copied to clipboard
open operator fun Operand.rem(that: Operand): Operand
open operator fun Operand.rem(that: Float): Operand
Link copied to clipboard
infix fun Operand.set(from: Operand)
Link copied to clipboard
infix fun Operand.setTo(from: Operand)
Link copied to clipboard
open operator fun Operand.times(that: Operand): Operand
open operator fun Operand.times(that: Float): Operand
Link copied to clipboard
open operator fun Operand.unaryMinus(): Operand