Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Functions | |
sk_sp< SkBlender > | GetRuntimeBlendForBlendMode (SkBlendMode mode) |
sk_sp< SkBlender > GetRuntimeBlendForBlendMode | ( | SkBlendMode | mode | ) |
Returns a Runtime Effect-based blender which is equivalent to the passed-in SkBlendMode. This should generate the same output as the equivalent SkBlendMode operation, but always uses SkSL to perform the blend operation instead of relying on specialized/fixed-function code. This is useful for verifying that Runtime Blends are working as expected throughout the pipeline.
Definition at line 13 of file RuntimeBlendUtils.cpp.