Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
NullLayer.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2019 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
11
12namespace skjson {
13class ObjectValue;
14}
15
16namespace skottie {
17namespace internal {
18
19sk_sp<sksg::RenderNode> AnimationBuilder::attachNullLayer(const skjson::ObjectValue& layer,
20 LayerInfo*) const {
21 // Null layers are used solely to drive dependent transforms,
22 // but we use free-floating sksg::Matrices for that purpose.
23 return nullptr;
24}
25
26} // namespace internal
27} // namespace skottie