conststd::array<std::string,3>names{"Scene Settings","Sampling and Performance","Linespace Thresholds"};
staticintcurr=0;
ImGui::Tabs(names,curr);
ImGui::Tabs(std::array<std::string,3>{"Scene Settings","Sampling and Performance","Linespace Thresholds"},curr);
switch(curr)
{
case0:
{
ImGui::TextWrapped("By default, a transformation or mesh update will trigger a pathtracer sample count reset. If you want to limit this to explicit settings changes and camera movements, uncheck the following option.");
ImGui::TextWrapped("The direct clamp setting will lead to the primary ray result color being clamped down to a set maximum. That means each color component will be clamped. The same applies to the \"clamp indirect\" setting for non-primary bounces.");
ImGui::TextWrapped("The following threshold values will determine as of which accumulated PDF value the Line Space should be used instead of the BVH.");