//package com.pixelized.desktop.lwa.ui.shaders
//
//import androidx.compose.animation.core.withInfiniteAnimationFrameMillis
//import androidx.compose.runtime.Composable
//import androidx.compose.runtime.Stable
//import androidx.compose.runtime.State
//import androidx.compose.runtime.produceState
//
//@Composable
//@Stable
//fun rememberShaderTimeState(speed: Float = 1f): State<Float> {
//    return produceState(0f) {
//        while (true) {
//            withInfiniteAnimationFrameMillis {
//                value = it / 1000f * speed
//            }
//        }
//    }
//}