Package-level declarations
Types
Link copied to clipboard
CacheableDynamicShader can cache created Shader instances for reuse between identical sets of bounds.
Link copied to clipboard
class ComponentShader(component: Component, componentSizeDp: Float, checkeredArrangement: Boolean = true, tileXMode: Shader.TileMode = Shader.TileMode.REPEAT, tileYMode: Shader.TileMode = tileXMode) : CacheableDynamicShader
ComponentShader creates a Shader out of the provided component.
Link copied to clipboard
DynamicShader creates Shader instances on demand.
Link copied to clipboard
object DynamicShaders
An object that holds simple, anonymous implementations of DynamicShader.
Link copied to clipboard
Creates a DynamicShader, which always provides the same Shader instance.
Properties
Link copied to clipboard
Converts this Shader to a StaticShader and returns it as a DynamicShader.