MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getAnimationKeys

Method getAnimationKeys

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:717–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717std::vector<String> Layer::getAnimationKeys() const {
718 std::vector<String> out;
719
720 auto animations = _animations.readAccess();
721 out.reserve(animations->size());
722
723 for (const auto& it : animations) {
724 out.emplace_back(it.first);
725 }
726
727 return out;
728}
729
730bool Layer::needsProcessAnimations() const {
731 return _enqueuedFrame.has_value();

Callers 1

TEST_FFunction · 0.80

Calls 3

readAccessMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64