[AI] Handles global view and level-of-detail (LOD) settings for real-time rendering.
static void SetUserMaxLOD(float p_lod)
[AI] Sets the maximum LOD allowed for the user and updates global LOD power.
static float GetPartsThreshold()
[AI] Returns the global threshold for the number of scene parts above which LOD switching is triggere...
RealtimeView()
[AI] Constructor, ensures the maximum LOD "power" is recalculated at initialization.
static float GetUserMaxLOD()
[AI] Returns the user-specified maximum LOD value.
static float GetUserMaxLodPower()
[AI] Returns the cached LOD power, used for faster LOD checks in rendering.
~RealtimeView()
[AI] Destructor.
static void UpdateMaxLOD()
[AI] Updates the global LOD power value based on current base and max user LOD.
static void SetPartsThreshold(float p_threshold)
[AI] Sets the global threshold for the number of parts before LOD reduction.
float g_userMaxLodPower
[AI] Global variable storing the calculated LOD "power" value for the user, derived from base and max...