MCPcopy Create free account
hub / github.com/ZDoom/Raze / PerformUpdate

Method PerformUpdate

source/common/rendering/hwrenderer/data/hw_shadowmap.cpp:94–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94bool IShadowMap::PerformUpdate()
95{
96 UpdateCycles.Reset();
97
98 LightsProcessed = 0;
99 LightsShadowmapped = 0;
100
101 // CollectLights will be null if the calling code decides that shadowmaps are not needed.
102 if (CollectLights != nullptr)
103 {
104 UpdateCycles.Clock();
105 UploadAABBTree();
106 UploadLights();
107 return true;
108 }
109 return false;
110}
111
112void IShadowMap::UploadLights()
113{

Callers 2

UpdateShadowMapMethod · 0.80
UpdateShadowMapMethod · 0.80

Calls 2

ResetMethod · 0.45
ClockMethod · 0.45

Tested by

no test coverage detected