MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / scheduleFixedUpdate

Method scheduleFixedUpdate

Source/Node/Node.cpp:847–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847void Node::scheduleFixedUpdate() {
848 if (_flags.isOn(Node::FixedUpdating)) return;
849 _flags.setOn(Node::FixedUpdating);
850 if (_flags.isOff(Node::Running)) return;
851 auto fixedScheduledItem = getFixedScheduledItem();
852 if (!fixedScheduledItem->iter) {
853 _scheduler->scheduleFixed(fixedScheduledItem);
854 }
855}
856
857void Node::unscheduleUpdate() {
858 if (_flags.isOn(Node::Updating)) {

Callers

nothing calls this directly

Calls 4

isOnMethod · 0.80
setOnMethod · 0.80
isOffMethod · 0.80
scheduleFixedMethod · 0.80

Tested by

no test coverage detected