HAL::SetToleranceParams

HAL::SetToleranceParams
void SetToleranceParams(const ToleranceParams& params);
Description

SetToleranceParams applies the tolerance values for the tessellations required for rendering. The new parameters passed would only affect the newly tessellated meshes. To see the effect on the already generated meshes, Render::MeshCache::ClearCache should be called which would regenerate all meshes. 

For optimum performance, this method should be set before calling InitHAL. Calling this after InitHAL is possible, but may require significant memory reallocation.

Parameters
Parameters 
Description 
const ToleranceParams& params 
The tolerance values set for rendering, see ToleranceParams