MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetRenderTime

Method GetRenderTime

Source/Internal/timer.cpp:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84float Timer::GetRenderTime() {
85 return game_time + timestep_error * timestep;
86}
87
88float Timer::GetAverageFrameTime() {
89 float sum = .0f;

Callers 14

DrawMethod · 0.80
SetStartStateMethod · 0.80
DrawGPUParticleFieldFunction · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawSceneMethod · 0.80
UpdateShadowCascadesFunction · 0.80
DrawMethod · 0.80
DrawRiggedObjectMethod · 0.80
AddWaterCubeMethod · 0.80
DrawDepthMapMethod · 0.80
DrawTerrainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected