MCPcopy Create free account
hub / github.com/aras-p/ToyPathTracer / UpdateLoop

Method UpdateLoop

Unity/Assets/TestScript.cs:37–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 void UpdateLoop()
38 {
39 m_Stopwatch.Start();
40 int rayCount;
41 m_Test.DrawTest(Time.timeSinceLevelLoad, m_FrameCounter++, m_BackbufferTex.width, m_BackbufferTex.height, m_Backbuffer, m_Animate, out rayCount);
42 m_Stopwatch.Stop();
43 ++m_UpdateCounter;
44 m_RayCounter += rayCount;
45 }
46
47 void Update ()
48 {

Callers

nothing calls this directly

Calls 2

StartMethod · 0.80
DrawTestMethod · 0.45

Tested by

no test coverage detected