DrawCacheModifier
interface DrawCacheModifier : DrawModifier
androidx.compose.ui.draw.DrawCacheModifier |
DrawModifier implementation that supports building a cache of objects to be referenced across draw calls
Summary
Public methods | |
---|---|
abstract Unit |
onBuildCache(size: Size, density: Density) Callback invoked to re-build objects to be re-used across draw calls. |
Inherited functions | |
---|---|
Inherited extension functions | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From androidx.compose.foundation.layout
|