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

Function UpdateFileWrite

include/assimp/ProgressHandler.hpp:135–138  ·  view source on GitHub ↗

------------------------------------------------------------------- @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

Source from the content-addressed store, hash-verified

133 * increasing, although not necessarily linearly.
134 * */
135 virtual void UpdateFileWrite(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) {
136 float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f;
137 Update(f * 0.5f);
138 }
139}; // !class ProgressHandler
140
141// ------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

UpdateFunction · 0.85

Tested by

no test coverage detected