CompositeShader
Function
Common
fun CompositeShader(dst: Shader, src: Shader, blendMode: BlendMode): Shader
Creates a composited result between 2 shaders and the specified BlendMode. The specified destination and source Shader inputs will be consumed as the source and destination images for the corresponding blending algorithm.
Parameters
dst | Shader used as the destination content |
src | Shader used as the source content |
blendMode | BlendMode used to composite the source against the destination shader |