bindTime

fun GlController.bindTime(param: Uniform<Flt<High>>, isPlaying: Boolean = true, offsetSeconds: Float = 0.0f)(source)

Drives param with elapsed time in seconds, similar to ru.redbyte.redbytefx.compose.FxController.bindTime.

Intended for uniforms from uniformTime(...). Updates are queued to the GL thread; when isPlaying is false, the current value is held. offsetSeconds shifts the reported time without resetting accumulated phase.