8#ifndef SkottieLayer_DEFINED
9#define SkottieLayer_DEFINED
29class CompositionBuilder;
37 int index()
const {
return fIndex; }
53 enum TransformType : uint8_t {
64 bool is3D()
const {
return fFlags & Flags::kIs3D; }
66 bool hasMotionBlur(
const CompositionBuilder*)
const;
82 const int fParentIndex;
84 const bool fAutoOrient;
86 AnimationBuilder::LayerInfo fInfo;
93 size_t fTransformAnimatorCount = 0;
LayerBuilder(const skjson::ObjectValue &jlayer, const SkSize &comp_size)
const SkSize & size() const
sk_sp< sksg::RenderNode > buildRenderTree(const AnimationBuilder &, CompositionBuilder *, const LayerBuilder *prev_layer)
sk_sp< sksg::Transform > buildTransform(const AnimationBuilder &, CompositionBuilder *)
LayerBuilder(const LayerBuilder &)=default
const sk_sp< sksg::RenderNode > & contentTree() const
std::vector< sk_sp< Animator > > AnimatorScope
skgpu::graphite::Transform Transform