Is there a way to preserve the drawing buffer/fram...
# compose
n
Is there a way to preserve the drawing buffer/frame in canvas? If i’m using
LaunchedEffect(){…}
along with
withFrameNanos{..}
to update a state (using loop, say for creating a game or animation). Can the previous frame be preserved without recomposition in jetpack compose? Something like
preserveDrawingBuffer
in JS.
Or should I call it view invalidation..
z
I don't believe there's any way to do that on a single canvas.
You could file a feature request
n
Right, okay. cool. Thanks. simple smile