ULimenAntiAliasingSetting
Overview
ULimenAntiAliasingSetting is a subclass of ULimenSelectionSetting designed to handle various anti-aliasing techniques such as FXAA, TAA, MSAA, and TSR. It provides a user interface for selecting an anti-aliasing method and applies the corresponding console variables when selected.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FString | NONE | Public | Constant string representing "Disabled" anti-aliasing method. |
FString | FXAA | Public | Constant string representing "Fast Aproximate Anti-Aliasing (FXAA)" method. |
FString | TAA | Public | Constant string representing "Temporal Anti-Aliasing (TAA)" method. |
FString | MSAA | Public | Constant string representing "Multi Sample Anti-Aliasing (MSAA)" method. |
FString | TSR | Public | Constant string representing "Temporal Super Resolution (TSR)" method. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ApplyCurrentSetting(bool bUserRequest) | Applies the currently selected anti-aliasing setting by finding and applying the corresponding console variables. |
void | SetDefaults() | Sets up the default settings for the anti-aliasing options, including adding possible selections and their associated console variables. |
bool | IsMSAASupported() const | Checks if Multi Sample Anti-Aliasing (MSAA) is supported by querying a console variable. |
Usage & Implementation Notes
The
ApplyCurrentSettingfunction ensures that the correct console variables are applied based on the current selection.The
SetDefaultsmethod initializes all possible anti-aliasing methods and their respective settings, including conditional support for MSAA.The
IsMSAASupportedfunction checks if forward shading is enabled to determine if MSAA can be used.