Skip to content

SetLevel

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DAnisotropicFiltering

Syntax

ADLX_RESULT    SetLevel (ADLX_ANISOTROPIC_FILTERING_LEVEL level)

Parameters

#DirectionNameTypeDescription
1.[in]levelADLX_ANISOTROPIC_FILTERING_LEVELThe new anisotropic filtering level.

Return Value

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

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

Headerinclude “I3DSettings.h”
Minimum version1.0