GetLevel

Gets the current anisotropic filtering level on a GPU.

Syntax

Copied!

ADLX_RESULT     GetLevel (ADLX_ANISOTROPIC_FILTERING_LEVEL * currentLevel)

Parameters

  1. [out] currentLevel ADLX_ANISOTROPIC_FILTERING_LEVEL * The pointer to a variable where the current anisotropic filtering level is returned.

Return Value

If the current anisotropic filtering level is successfully returned, ADLX_OK is returned.

If the current anisotropic filtering level is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Anisotropic filtering improves texture quality in most 3D applications on surfaces that appear far away or at odd angles – such as roads or trees – at the cost of some frame rate performance.

Only affects DirectX® 9 applications.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0