SDFShaders
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
From an SDF function, this creates a smooth antialiased version working with pixel distances.
Link copied to clipboard
Link copied to clipboard
From an SDF function, this converts a filled SDF into a stroke (border of the shape)
Link copied to clipboard
Link copied to clipboard
Mixes colors, considering they are premultiplied. The first parameter is the existing color, and the second one the color trying to put on top.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun FOR_0_UNTIL(len: Operand, callback: Program.Builder.(Operand) -> Unit): Program.Stm.ForSimple
Link copied to clipboard
inline fun FOR_0_UNTIL_FIXED(len: Int, callback: Program.Builder.(Operand) -> Unit): Program.Stm.ForSimple
Link copied to clipboard
inline fun FOR_0_UNTIL_FIXED_BREAK(len: Operand, maxLen: Int = 1024, callback: Program.Builder.(Operand) -> Unit): Program.Stm.ForSimple
Link copied to clipboard
fun FUNC(name: String, rettype: VarType, block: Program.Builder.FuncBuilder.() -> Unit): Program.FuncRefN
fun FUNC(dummy: Unit = Unit, returns: VarType, block: Program.Builder.FuncBuilder.() -> Unit): Program.Builder.FuncProvider<Program.FuncRef0>
fun FUNC(p0: VarType, dummy: Unit = Unit, returns: VarType, block: Program.Builder.FuncBuilder.(p0: Arg) -> Unit): Program.Builder.FuncProvider<Program.FuncRef1>
fun FUNC(p0: VarType, p1: VarType, dummy: Unit = Unit, returns: VarType, block: Program.Builder.FuncBuilder.(p0: Arg, p1: Arg) -> Unit): Program.Builder.FuncProvider<Program.FuncRef2>
fun FUNC(p0: VarType, p1: VarType, p2: VarType, dummy: Unit = Unit, returns: VarType, block: Program.Builder.FuncBuilder.(p0: Arg, p1: Arg, p2: Arg) -> Unit): Program.Builder.FuncProvider<Program.FuncRef3>
fun FUNC(p0: VarType, p1: VarType, p2: VarType, p3: VarType, dummy: Unit = Unit, returns: VarType, block: Program.Builder.FuncBuilder.(p0: Arg, p1: Arg, p2: Arg, p3: Arg) -> Unit): Program.Builder.FuncProvider<Program.FuncRef4>
Link copied to clipboard
fun FUNCN(returns: VarType, block: Program.Builder.FuncBuilder.() -> Unit): Program.Builder.FuncProvider<Program.FuncRefN>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun Program.FuncRef4.invoke(p0: Operand, p1: Operand, p2: Operand, p3: Operand): Program.CustomFunc
operator fun Program.FuncRef5.invoke(p0: Operand, p1: Operand, p2: Operand, p3: Operand, p4: Operand): Program.CustomFunc
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Program.ExpressionBuilder.texture2DZeroOutside(sampler: Operand, coords: Operand, check: Boolean = true): Operand
Link copied to clipboard
Link copied to clipboard