RuntimeShader
data class RuntimeShader(val shader: RuntimeShader, val uniformShaderName: String) : LithoRenderEffect
A LithoRenderEffect that executes the provided android.graphics.RuntimeShader and passes the contents of the android.graphics.RenderNode that this LithoRenderEffect is installed on as an input to the shader.
Parameters
shader
the runtime shader that will bind the inputShaderName to the LithoRenderEffect input
uniformShaderName
the uniform name defined in the RuntimeShader's program to which the contents of the RenderNode will be bound
Functions
Link copied to clipboard
Creates a RenderEffect instance from this LithoRenderEffect.