Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Scalability.h |
| Include | #include "Scalability.h" |
Syntax
struct FQualityLevels
Remarks
Structure for holding the state of the engine scalability groups Actual engine state you can get though GetQualityLevels().
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | AntiAliasingQuality | ||
| float | CPUBenchmarkResults | ||
| TArray< float > | CPUBenchmarkSteps | ||
| int32 | EffectsQuality | ||
| int32 | FoliageQuality | ||
| int32 | GlobalIlluminationQuality | ||
| float | GPUBenchmarkResults | ||
| TArray< float > | GPUBenchmarkSteps | ||
| int32 | PostProcessQuality | ||
| int32 | ReflectionQuality | ||
| float | ResolutionQuality | ||
| int32 | ShadingQuality | ||
| int32 | ShadowQuality | ||
| int32 | TextureQuality | ||
| int32 | ViewDistanceQuality |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FQualityLevels
(
bool bSetDefaults |
Allows us to avoid SetDefaults for static init variables, as SetDefaults is not defined to call during static int. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetHash () |
Used for DisplayInternals to quickly identify why a screenshot looks different | |
| int32 | Returns the minimum set quality level from all settings | ||
| int32 | Returns the overall value if all settings are set to the same thing | ||
| void | SetAntiAliasingQuality
(
int32 Value |
Sets anti-aliasing quality | |
| void | |||
| void | SetDefaults () |
||
| void | SetEffectsQuality
(
int32 Value |
Sets the visual effects quality | |
| void | SetFoliageQuality
(
int32 Value |
Sets the foliage quality | |
| void | SetFromSingleQualityLevel
(
int32 Value |
Sets all other settings based on an overall value | |
| void | SetFromSingleQualityLevelRelativeToMax
(
int32 Value |
Sets all other settings based on an overall value, but relative to the maximum. | |
| void | SetGlobalIlluminationQuality
(
int32 Value |
Sets shadow quality | |
| void | SetPostProcessQuality
(
int32 Value |
Sets the post-processing quality | |
| void | SetReflectionQuality
(
int32 Value |
Sets shadow quality | |
| void | SetShadingQuality
(
int32 Value |
Sets the sharing quality | |
| void | SetShadowQuality
(
int32 Value |
Sets shadow quality | |
| void | SetTextureQuality
(
int32 Value |
Sets the texture quality | |
| void | SetViewDistanceQuality
(
int32 Value |
Sets view distance quality |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FQualityLevels& Other |
||
| bool | operator==
(
const FQualityLevels& Other |