Skip to content

IADLX3DResetShaderCache

Navigation: ADLX SDK ReferencesADLX Interfaces3D Graphics

The IADLX3DResetShaderCache interface configures reset shader cache on a GPU.

InterfaceId:IADLX3DResetShaderCache
Smart Pointer Interface Name:IADLX3DResetShaderCachePtr
Inherits:IADLXInterface
Inherited By:N/A

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.

Methods

MethodDescription
IsSupportedChecks if resetting the shader cache of a GPU is supported.
ResetShaderCacheResets the content in a disk-based shader cache on a GPU.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0

Example

To see how to use this interface in a C++ application, refer to the ResetShaderCache C++ sample.

For a C application, refer to the ResetShaderCache C sample.

Subpages

  • IsSupported - Checks if resetting the shader cache of a GPU is supported.
  • ResetShaderCache - Resets the content in a disk-based shader cache on a GPU.

See Also: IsSupported, ResetShaderCache, IADLXInterface, ResetShaderCache, ResetShaderCache