UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCachedSystemScalabilityCVars Struct Reference

#include <UnrealEngine.h>

Public Member Functions

float CalculateFieldOfViewDistanceScale (const float FieldOfView) const
 
 FCachedSystemScalabilityCVars ()
 
bool operator== (const FCachedSystemScalabilityCVars &Other) const
 

Public Attributes

bool bInitialized
 
int32 DetailMode
 
int32 CookOutUnusedDetailModeComponents
 
EMaterialQualityLevel::Type MaterialQualityLevel
 
int32 MaxShadowResolution
 
int32 MaxCSMShadowResolution
 
float ViewDistanceScale
 
float ViewDistanceScaleSquared
 
int32 FieldOfViewAffectsHLOD
 
float StaticMeshLODDistanceScale
 
float SkeletalMeshOverlayDistanceScale
 

Protected Attributes

int32 MaxAnisotropy
 
float FieldOfViewMinAngle
 
float FieldOfViewMinAngleScale
 
float FieldOfViewMaxAngle
 
float FieldOfViewMaxAngleScale
 

Friends

void ScalabilityCVarsSinkCallback ()
 

Detailed Description

Cache some of the scalability CVars to avoid some virtual function calls (no longer the case with the new console variable system, but we only have 1 render thread) and to detect changes and act accordingly if needed. read by rendering thread[s], written by main thread, uses FlushRenderingCommands() to avoid conflict

Constructor & Destructor Documentation

◆ FCachedSystemScalabilityCVars()

FCachedSystemScalabilityCVars::FCachedSystemScalabilityCVars ( )

Member Function Documentation

◆ CalculateFieldOfViewDistanceScale()

float FCachedSystemScalabilityCVars::CalculateFieldOfViewDistanceScale ( const float  FieldOfView) const
inline

◆ operator==()

bool FCachedSystemScalabilityCVars::operator== ( const FCachedSystemScalabilityCVars Other) const

Friends And Related Symbol Documentation

◆ ScalabilityCVarsSinkCallback

void ScalabilityCVarsSinkCallback ( )
friend

Member Data Documentation

◆ bInitialized

bool FCachedSystemScalabilityCVars::bInitialized

◆ CookOutUnusedDetailModeComponents

int32 FCachedSystemScalabilityCVars::CookOutUnusedDetailModeComponents

◆ DetailMode

int32 FCachedSystemScalabilityCVars::DetailMode

◆ FieldOfViewAffectsHLOD

int32 FCachedSystemScalabilityCVars::FieldOfViewAffectsHLOD

◆ FieldOfViewMaxAngle

float FCachedSystemScalabilityCVars::FieldOfViewMaxAngle
protected

◆ FieldOfViewMaxAngleScale

float FCachedSystemScalabilityCVars::FieldOfViewMaxAngleScale
protected

◆ FieldOfViewMinAngle

float FCachedSystemScalabilityCVars::FieldOfViewMinAngle
protected

◆ FieldOfViewMinAngleScale

float FCachedSystemScalabilityCVars::FieldOfViewMinAngleScale
protected

◆ MaterialQualityLevel

EMaterialQualityLevel::Type FCachedSystemScalabilityCVars::MaterialQualityLevel

◆ MaxAnisotropy

int32 FCachedSystemScalabilityCVars::MaxAnisotropy
protected

◆ MaxCSMShadowResolution

int32 FCachedSystemScalabilityCVars::MaxCSMShadowResolution

◆ MaxShadowResolution

int32 FCachedSystemScalabilityCVars::MaxShadowResolution

◆ SkeletalMeshOverlayDistanceScale

float FCachedSystemScalabilityCVars::SkeletalMeshOverlayDistanceScale

◆ StaticMeshLODDistanceScale

float FCachedSystemScalabilityCVars::StaticMeshLODDistanceScale

◆ ViewDistanceScale

float FCachedSystemScalabilityCVars::ViewDistanceScale

◆ ViewDistanceScaleSquared

float FCachedSystemScalabilityCVars::ViewDistanceScaleSquared

The documentation for this struct was generated from the following files: