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

Method Bake

Source/Engine/Renderer/ProbesRenderer.cpp:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152Delegate<Actor*> ProbesRenderer::OnFinishBake;
153
154void ProbesRenderer::Bake(EnvironmentProbe* probe, float timeout)
155{
156 if (!probe || probe->IsUsingCustomProbe())
157 return;
158 ProbeEntry e;
159 e.Type = ProbeEntry::Types::EnvProbe;
160 e.Actor = probe;
161 e.Timeout = timeout;
162 ProbesRendererServiceInstance.Bake(e);
163}
164
165void ProbesRenderer::Bake(SkyLight* probe, float timeout)
166{

Callers

nothing calls this directly

Calls 4

OnRegisterBakeFunction · 0.85
IsUsingCustomProbeMethod · 0.80
UseTextureDataMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected