MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / AddActorToSceneRendering

Function AddActorToSceneRendering

Source/Engine/Graphics/RenderTask.cpp:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void AddActorToSceneRendering(SceneRendering* s, Actor* a)
238{
239 if (a && a->IsActiveInHierarchy())
240 {
241 int32 key = -1;
242 s->AddActor(a, key);
243 for (Actor* child : a->Children)
244 AddActorToSceneRendering(s, child);
245 }
246}
247
248bool SortPostFx(PostProcessEffect* const& a, PostProcessEffect* const& b)
249{

Callers 1

OnCollectDrawCallsMethod · 0.85

Calls 1

AddActorMethod · 0.45

Tested by

no test coverage detected