GetLevel

Gets the current anti-aliasing level of a GPU.

Syntax

Copied!

ADLX_RESULT     GetLevel (ADLX_ANTI_ALIASING_LEVEL * currentLevel)

Parameters

  1. [out] currentLevel ADLX_ANTI_ALIASING_LEVEL * The pointer to a variable where the current anti-aliasing level is returned.

Return Value

If the current anti-aliasing level is successfully returned, ADLX_OK is returned.

If the current anti-aliasing level is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Anti-aliasing improves image quality by smoothing jagged edges at the cost of some performance.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0