Replies: 4 comments 16 replies
-
On the verge of a national holiday 😅 sorry to keep you waiting, but this requires me to debug and test the code you posted. |
Beta Was this translation helpful? Give feedback.
-
And one more question: |
Beta Was this translation helpful? Give feedback.
-
Silly question number 7: struct System0
{
using View = entt::view<entt::get_t<const CompA>>;
void tick(View view, const Time& time) {}
}; I emplace this method to the organizer: auto graph = organizer.graph();
for (auto&& node : graph)
{
auto func = node.callback();
auto data = node.data();
func(data, registry);
} But how can I pass for example my |
Beta Was this translation helpful? Give feedback.
-
Question 8: Is there a way to create a sync point using entt::organizer? Could you provide an example? |
Beta Was this translation helpful? Give feedback.
-
Hello there!
I'm a newbie with EnTT and I'm trying to use
entt::organizer
to build an execution graph of systems and I've got some questions.I use version 3.15.0 from vcpkg (in case of it does matter).
Some test code:
const float dt
produce linear graph where each system has got RW access and therefore depends on a previous system?P.S: I understand that I can replace
const float
intoconst Time&
and it solves the problem, but anyway looks likeconst float
shouldn't produce RW edges...const entt::registry&
to thetick
methods does produce also a linear graph? But in that case RW counter isn't incremented, but onlysys0
is top level and other nodes have an in edge as the prev node.groups
,reactive storages
, etc?Beta Was this translation helpful? Give feedback.
All reactions