------------------------------------------------------------------- @brief Progress callback for file loading steps * @param numberOfSteps The number of total post-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
| 105 | * of the file parsing. |
| 106 | * */ |
| 107 | virtual void UpdateFileRead(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) { |
| 108 | float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f; |
| 109 | Update( f * 0.5f ); |
| 110 | } |
| 111 | |
| 112 | // ------------------------------------------------------------------- |
| 113 | /** @brief Progress callback for post-processing steps |