openrndr / org.openrndr.draw / ShadeStyle

ShadeStyle

class ShadeStyle

Constructors

<init>

ShadeStyle()
ShadeStyle(other: ShadeStyle)

Properties

attributes

var attributes: MutableList<VertexBuffer>

fragmentPreamble

var fragmentPreamble: String?

fragmentTransform

var fragmentTransform: String?

outputs

var outputs: MutableMap<String, Int>

parameterValues

var parameterValues: MutableMap<String, Any>

parameters

var parameters: MutableMap<String, String>

suppressDefaultOutput

var suppressDefaultOutput: Boolean

vertexPreamble

var vertexPreamble: String?

vertexTransform

var vertexTransform: String?

Functions

attributes

fun attributes(attributesBuffer: VertexBuffer): Unit

output

fun output(name: String, slot: Int): ShadeStyle

parameter

fun parameter(name: String, value: Cubemap): ShadeStyle
fun parameter(name: String, value: Int): ShadeStyle
fun parameter(name: String, value: Matrix44): ShadeStyle
fun parameter(name: String, value: Float): ShadeStyle
fun parameter(name: String, value: Double): ShadeStyle
fun parameter(name: String, value: Vector2): ShadeStyle
fun parameter(name: String, value: Vector3): ShadeStyle
fun parameter(name: String, value: Vector4): ShadeStyle
fun parameter(name: String, value: ColorRGBa): ShadeStyle
fun parameter(name: String, value: ColorBuffer): ShadeStyle
fun parameter(name: String, value: DepthBuffer): ShadeStyle
fun parameter(name: String, value: BufferTexture): ShadeStyle

plus

operator fun plus(other: ShadeStyle): ShadeStyle