SetMethod

Sets the anti-aliasing method on a GPU.

Syntax

Copied!

ADLX_RESULT     SetMethod (ADLX_ANTI_ALIASING_METHOD  method)

Parameters

  1. [in] method ADLX_ANTI_ALIASING_METHOD The new anti-aliasing method.

Return Value

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

If the anti-aliasing method 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