MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / sugoiS_all

Function sugoiS_all

modules/engine/runtime/src/ecs/storage.cpp:1109–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107}
1108
1109void sugoiS_all(sugoi_storage_t* storage, bool includeDisabled, bool includeDead, sugoi_view_callback_t callback, void* u)
1110{
1111 for (auto& pair : storage->groups)
1112 {
1113 auto group = pair.second;
1114 if (group->isDead && !includeDead)
1115 continue;
1116 if (group->disabled && !includeDisabled)
1117 continue;
1118 for (auto c : group->chunks)
1119 {
1120 sugoi_chunk_view_t view{ c, 0, c->count };
1121 callback(u, &view);
1122 }
1123 }
1124}
1125
1126EIndex sugoiS_count(sugoi_storage_t* storage, bool includeDisabled, bool includeDead)
1127{

Callers 3

scene_asset.cppFile · 0.85
GameLoopFunction · 0.85
InstallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected