Create a filter that produces a runtime shader effect. The runtime shader is evaluated per-pixel and the result fills the output. The childShaderName is used to bind the input filter to a shader child in the builder, or uses the source bitmap when input is null. @param builder The RuntimeE
(@NotNull RuntimeEffectBuilder builder, @Nullable String childShaderName, @Nullable ImageFilter input)
| 645 | * @return filter that applies the runtime shader |
| 646 | */ |
| 647 | @NotNull @Contract("_, _, _ -> new") |
| 648 | public static ImageFilter makeRuntimeShader(@NotNull RuntimeEffectBuilder builder, @Nullable String childShaderName, @Nullable ImageFilter input) { |
| 649 | return makeRuntimeShader(builder, 0.0f, childShaderName, input); |
| 650 | } |
| 651 | |
| 652 | /** |
| 653 | * Create a filter that produces a runtime shader effect with a sample radius. The runtime shader |
no test coverage detected