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

Method Run

Source/Engine/Renderer/ProbesRenderer.cpp:71–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 bool Run() override
72 {
73 Actor* actor = _entry.Actor.Get();
74 if (_entry.Type == ProbeEntry::Types::EnvProbe)
75 {
76 if (actor)
77 ((EnvironmentProbe*)actor)->SetProbeData(_data);
78 }
79 else if (_entry.Type == ProbeEntry::Types::SkyLight)
80 {
81 if (actor)
82 ((SkyLight*)actor)->SetProbeData(_data);
83 }
84 else
85 {
86 return true;
87 }
88
89 ProbesRenderer::OnFinishBake(actor);
90 return false;
91 }
92};
93
94GPU_CB_STRUCT(Data {

Callers

nothing calls this directly

Calls 3

OnFinishBakeFunction · 0.85
GetMethod · 0.45
SetProbeDataMethod · 0.45

Tested by

no test coverage detected