Sets the anti-aliasing mode on a GPU.
ADLX_RESULT SetMode (ADLX_ANTI_ALIASING_MODE mode)
[in]mode ADLX_ANTI_ALIASING_MODE The new anti-aliasing mode.
If the anti-aliasing mode is successfully set, ADLX_OK is returned.
If the anti-aliasing mode is not successfully set, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Anti-aliasing improves image quality by smoothing jagged edges at the cost of some performance.
Note : Set the mode to AA_MODE_ENHANCE_APP_SETTINGS or AA_MODE_OVERRIDE_APP_SETTINGS to concurrently enable other anti-aliasing methods, such as morphological anti-aliasing.
For more information, refer to IADLX3DMorphologicalAntiAliasing .