Skip to content

IsEnabled

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DAnisotropicFiltering

Syntax

ADLX_RESULT    IsEnabled (adlx_bool* enabled)

Parameters

#DirectionNameTypeDescription
1.[out]enabledadlx_bool*The pointer to a variable where the state of anisotropic filtering is returned. The variable is true if anisotropic filtering is enabled. The variable is false if anisotropic filtering is not enabled.

Return Value

If the state of anisotropic filtering is successfully returned, ADLX_OK is returned.

If the state of anisotropic filtering 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

Headerinclude “I3DSettings.h”
Minimum version1.0