------------------------------------------------------------------- @brief Progress callback for export steps. * @param numberOfSteps The number of total processing * steps * @param currentStep The index of the current post-processing * step that will run, or equal to numberOfSteps if all of * them has finished. This number is always strictly monotone * incr
| 134 | * increasing, although not necessarily linearly. |
| 135 | * */ |
| 136 | virtual void UpdateFileWrite(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) { |
| 137 | float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f; |
| 138 | Update(f * 0.5f); |
| 139 | } |
| 140 | }; // !class ProgressHandler |
| 141 | |
| 142 | // ------------------------------------------------------------------------------------ |