Evaluates active LOD policies based on atom count and camera interaction state.
More...
#include <LodController.hpp>
Evaluates active LOD policies based on atom count and camera interaction state.
◆ LodController()
| correlation::render3d::LodController::LodController |
( |
| ) |
|
|
constexprdefaultnoexcept |
◆ evaluatePolicy()
| LodRenderPolicy correlation::render3d::LodController::evaluatePolicy |
( |
std::size_t | atom_count, |
|
|
bool | is_interacting = false ) const |
|
nodiscardnoexcept |
Evaluates the active rendering policy.
- Parameters
-
| atom_count | Total atom count in current scene. |
| is_interacting | True if camera is actively orbiting or panning. |
- Returns
- Computed LodRenderPolicy.
◆ highThreshold()
| std::size_t correlation::render3d::LodController::highThreshold |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ mediumThreshold()
| std::size_t correlation::render3d::LodController::mediumThreshold |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ setHighThreshold()
| void correlation::render3d::LodController::setHighThreshold |
( |
std::size_t | threshold | ) |
|
|
inlinenoexcept |
◆ setMediumThreshold()
| void correlation::render3d::LodController::setMediumThreshold |
( |
std::size_t | threshold | ) |
|
|
inlinenoexcept |
◆ high_threshold_
| std::size_t correlation::render3d::LodController::high_threshold_ {5000} |
|
private |
◆ medium_threshold_
| std::size_t correlation::render3d::LodController::medium_threshold_ {25000} |
|
private |
The documentation for this class was generated from the following files: