openrndr / org.openrndr.draw / UniformBlock

UniformBlock

interface UniformBlock

Properties

dirty

abstract val dirty: Boolean

layout

abstract val layout: UniformBlockLayout

Functions

uniform

abstract fun uniform(name: String, value: Float): Unit
abstract fun uniform(name: String, value: Vector2): Unit
abstract fun uniform(name: String, value: Vector3): Unit
abstract fun uniform(name: String, value: Vector4): Unit
abstract fun uniform(name: String, value: ColorRGBa): Unit
abstract fun uniform(name: String, value: Matrix44): Unit
abstract fun uniform(name: String, value: Matrix55): Unit
abstract fun uniform(name: String, value: Array<Float>): Unit
abstract fun uniform(name: String, value: Array<Vector2>): Unit
abstract fun uniform(name: String, value: Array<Vector3>): Unit
abstract fun uniform(name: String, value: Array<Vector4>): Unit

upload

abstract fun upload(): Unit

Inheritors

UniformBlockGL3

class UniformBlockGL3 : UniformBlock