void PhotonEstimationTask::Finish() { GetViewDataPtr()->timeType = SceneThreadData::kPhotonTime; GetViewDataPtr()->realTime = ConsumedRealTime(); GetViewDataPtr()->cpuTime = ConsumedCPUTime(); }
void PhotonSortingTask::Finish() { GetViewDataPtr()->timeType = TraceThreadData::kPhotonTime; GetViewDataPtr()->realTime = ConsumedRealTime(); GetViewDataPtr()->cpuTime = ConsumedCPUTime(); }
void BoundingTask::Finish() { GetSceneDataPtr()->timeType = SceneThreadData::kBoundingTime; GetSceneDataPtr()->realTime = ConsumedRealTime(); GetSceneDataPtr()->cpuTime = ConsumedCPUTime(); }