MCPcopy Create free account
hub / github.com/Illation/ETEngine / Process

Method Process

Engine/unit_tests/ECS/EcsCommandBufferTest.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 // base class constructors don't do anything so are not needed unless we declare dependencies or init lookup variables
89
90 void Process(fw::ComponentRange<TestCWriteView>& range)
91 {
92 fw::EcsCommandBuffer& cb = GetCommandBuffer();
93
94 for (TestCWriteView& view : range)
95 {
96 view.c->val = cb.AddEntity();
97
98 cb.AddComponents(view.c->val, TestAComponent(), TestBComponent(), TestCComponent());
99 }
100 }
101 };
102
103 ecs.UnregisterSystem<TestDuplicateSystem>();

Callers 1

Calls 5

TestAComponentClass · 0.85
TestBComponentClass · 0.85
TestCComponentClass · 0.85
AddComponentsMethod · 0.80
AddEntityMethod · 0.45

Tested by

no test coverage detected