Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
skgpu::graphite::PrecompileBlenders Namespace Reference

Functions

SK_API sk_sp< PrecompileBlenderArithmetic ()
 

Function Documentation

◆ Arithmetic()

sk_sp< PrecompileBlender > skgpu::graphite::PrecompileBlenders::Arithmetic ( )

Definition at line 89 of file FactoryFunctions.cpp.

89 {
90 const SkRuntimeEffect* arithmeticEffect =
91 GetKnownRuntimeEffect(SkKnownRuntimeEffects::StableKey::kArithmetic);
92
93 return MakePrecompileBlender(sk_ref_sp(arithmeticEffect));
94}
sk_sp< T > sk_ref_sp(T *obj)
Definition SkRefCnt.h:381
sk_sp< PrecompileBlender > MakePrecompileBlender(sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)