Skip to content

IsEnabled

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DMorphologicalAntiAliasing

Syntax

ADLX_RESULT    IsEnabled (adlx_bool* enabled)

Parameters

#DirectionNameTypeDescription
1.[out]enabledadlx_bool*The pointer to a variable where the state of morphological anti-aliasing is returned. The variable is true if morphological anti-aliasing is enabled. The variable is false if morphological anti-aliasing is not enabled.

Return Value

If the state of morphological anti-aliasing is successfully returned, ADLX_OK is returned.

If the state of morphological anti-aliasing is not successfully returned, 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

Headerinclude “I3DSettings.h”
Minimum version1.0

See Also: GetMode