IsEnabled

Checks if morphological anti-aliasing is enabled on a GPU.

Syntax

Copied!

ADLX_RESULT     IsEnabled (adlx_bool* enabled)

Parameters

  1. [out] enabled adlx_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.

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 .

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0