SetLevel

Sets the anti-aliasing level on a GPU.

Syntax

Copied!

ADLX_RESULT     SetLevel (ADLX_ANTI_ALIASING_LEVEL  level)

Parameters

  1. [in] level ADLX_ANTI_ALIASING_LEVEL The new anti-aliasing level.

Return Value

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

If the anti-aliasing level is not successfully set, 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