MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / set

Method set

src/python/python_runtime.cpp:560–566  ·  view source on GitHub ↗

Application context (long-lived)

Source from the content-addressed store, hash-verified

558
559 // Application context (long-lived)
560 void ApplicationSceneContext::set(core::Scene* scene) {
561 scene_.store(scene);
562 mutation_flags_.store(0, std::memory_order_release);
563 const uint64_t generation = generation_.fetch_add(1, std::memory_order_acq_rel) + 1;
564 if (g_scene_generation_cb)
565 g_scene_generation_cb(generation);
566 }
567
568 core::Scene* ApplicationSceneContext::get() const { return scene_.load(); }
569

Callers 1

set_application_sceneFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected