8#ifndef SkottieEffects_DEFINED
9#define SkottieEffects_DEFINED
28class AnimationBuilder;
134 , fContainer(acontainer) {}
136 template <
typename T>
170 const
sk_sp<
sksg::MaskShaderEffect> fMaskEffectNode;
bool bind(const AnimationBuilder &, const skjson::ObjectValue *, T *)
LayerBuilder * layerBuilder(int layer_index)
EffectBinder(const skjson::ArrayValue &jprops, const AnimationBuilder &abuilder, AnimatablePropertyContainer *acontainer)
const EffectBinder & bind(size_t prop_index, T &value) const
sk_sp< sksg::RenderNode > attachEffects(const skjson::ArrayValue &, sk_sp< sksg::RenderNode >) const
EffectBuilder(const AnimationBuilder *, const SkSize &, CompositionBuilder *)
static const skjson::Value & GetPropValue(const skjson::ArrayValue &jprops, size_t prop_index)
LayerBuilder * getLayerBuilder(int layer_index) const
sk_sp< sksg::RenderNode > attachStyles(const skjson::ArrayValue &, sk_sp< sksg::RenderNode >) const
MaskShaderEffectBase(sk_sp< sksg::RenderNode >, const SkSize &)
virtual MaskInfo onMakeMask() const =0
const sk_sp< sksg::MaskShaderEffect > & node() const
const SkSize & layerSize() const
sk_sp< SkShader > fMaskShader