RuntimeShaderBuilder

Constructors

Link copied to clipboard
constructor(effect: RuntimeEffect)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
expect open val isClosed: Boolean

Check if underlying resource is closed.

Functions

Link copied to clipboard
fun child(name: String, colorFilter: ColorFilter)
fun child(name: String, shader: Shader)
Link copied to clipboard
expect open fun close()

Free underlying native resource, peer is useless afterwards.

Link copied to clipboard
fun makeShader(localMatrix: Matrix33? = null): Shader
Link copied to clipboard
expect open override fun toString(): String
Link copied to clipboard
fun uniform(name: String, value: Float)
fun uniform(name: String, value: Int)
fun uniform(name: String, value: Matrix22)
fun uniform(name: String, value: Matrix33)
fun uniform(name: String, value: Matrix44)
fun uniform(name: String, value1: Float, value2: Float)
fun uniform(name: String, value1: Int, value2: Int)
fun uniform(name: String, value1: Float, value2: Float, value3: Float)
fun uniform(name: String, value1: Int, value2: Int, value3: Int)
fun uniform(name: String, value1: Float, value2: Float, value3: Float, value4: Float)
fun uniform(name: String, value1: Int, value2: Int, value3: Int, value4: Int)