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

Function UpdateFileRead

include/assimp/ProgressHandler.hpp:106–109  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

104 * of the file parsing.
105 * */
106 virtual void UpdateFileRead(int currentStep /*= 0*/, int numberOfSteps /*= 0*/) {
107 float f = numberOfSteps ? currentStep / (float)numberOfSteps : 1.0f;
108 Update( f * 0.5f );
109 }
110
111 // -------------------------------------------------------------------
112 /** @brief Progress callback for post-processing steps

Callers

nothing calls this directly

Calls 1

UpdateFunction · 0.85

Tested by

no test coverage detected