Sets morphological anti-aliasing to enabled or disabled state on a GPU.
ADLX_RESULT SetEnabled (adlx_bool enable)
[in]enable adlx_bool The new morphological anti-aliasing state. Set true to enable morphological anti-aliasing. Set false to disable morphological anti-aliasing.
If the state of morphological anti-aliasing is successfully set, ADLX_OK is returned.
If the state of morphological anti-aliasing is not successfully set, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Morphological anti-aliasing is an edge-smoothing technique with minimal performance overhead.
The applications must run exclusively in full-screen mode.
Not applicable to DirectX® 12 and Vulkan® applications.
Note : When morphological anti-aliasing is enabled, the anti-aliasing mode must either be AA_MODE_ENHANCE_APP_SETTINGS or AA_MODE_OVERRIDE_APP_SETTINGS, as returned by GetMode .