MCPcopy Create free account
hub / github.com/assimp/assimp / UpdatePostProcess

Function UpdatePostProcess

include/assimp/ProgressHandler.hpp:120–123  ·  view source on GitHub ↗

------------------------------------------------------------------- @brief Progress callback for post-processing 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

Source from the content-addressed store, hash-verified

118 * increasing, although not necessarily linearly.
119 * */
120 virtual void UpdatePostProcess(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) {
121 float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f;
122 Update( f * 0.5f + 0.5f );
123 }
124
125
126 // -------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

UpdateFunction · 0.85

Tested by

no test coverage detected