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

Method Init

Source/Engine/Renderer/RenderList.cpp:209–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void RenderFogData::Init(const RenderView& view, IFogRenderer* renderer)
210{
211 Renderer = renderer;
212 renderer->GetExponentialHeightFogData(view, ExponentialHeightFogData);
213 renderer->GetVolumetricFogOptions(VolumetricFog);
214 if (!VolumetricFog.UseVolumetricFog())
215 {
216 ExponentialHeightFogData.VolumetricFogMaxDistance = -1;
217 }
218}
219
220void* RendererAllocation::Allocate(uintptr size)
221{

Callers

nothing calls this directly

Calls 6

UseVolumetricFogMethod · 0.80
TransformClass · 0.50
AllocateMethod · 0.45
GetCornersMethod · 0.45

Tested by

no test coverage detected