Skip to content

ResetShaderCache

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DResetShaderCache

Syntax

ADLX_RESULT    ResetShaderCache ()

Parameters

N/A

Return Value

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

If the shader cache is not successfully reset, 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 the contents of the disk-based shader cache.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0