MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / scene_update

Function scene_update

Examples/StereoKitCTest/scene.cpp:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 scene_curr = {};
18}
19void scene_update() {
20 if (scene_next.init != nullptr) {
21 scene_shutdown();
22 scene_curr = scene_next;
23 scene_next = {};
24 scene_init();
25 }
26
27 if (scene_curr.update != nullptr)
28 scene_curr.update();
29}
30void scene_init() {
31 if (scene_curr.init != nullptr)
32 scene_curr.init();

Callers 1

common_updateFunction · 0.85

Calls 2

scene_shutdownFunction · 0.85
scene_initFunction · 0.85

Tested by

no test coverage detected