SetEnabled
Navigation: ADLX SDK References → ADLX Interfaces → 3D Graphics → IADLX3DMorphologicalAntiAliasing
Syntax
ADLX_RESULT SetEnabled (adlx_bool enable)
Parameters
# | Direction | Name | Type | Description |
---|---|---|---|---|
1. | [in] | enable | adlx_bool | The new morphological anti-aliasing state. Set true to enable morphological anti-aliasing. Set false to disable morphological anti-aliasing. |
Return Value
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.
Additional Info
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.
Dependent Interfaces
When morphological anti-aliasing is enabled, the anti-aliasing mode must either be AA_MODE_ENHANCE_APP_SETTINGS or AA_MODE_OVERRIDE_APP_SETTINGS.
Requirements
Header | include “I3DSettings.h” |
---|---|
Minimum version | 1.0 |
See Also: GetMode