Skip to content

IsSupported

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DResetShaderCache

Syntax

ADLX_RESULT    IsSupported (adlx_bool* supported)

Parameters

#DirectionNameTypeDescription
1.[out]supportedadlx_bool*The pointer to a variable where the state of shader cache reset is returned. The variable is true if shader cache reset is supported. The variable is false if shader cache reset is not supported.

Return Value

If the state of shader cache reset is successfully returned, ADLX_OK is returned.

If the state of shader cache reset is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

The shader cache stores frequently used in-game shaders to reduce loading time and CPU usage. Resetting the shader cache clears contents of the disk-based shader cache.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0