IADLX3DResetShaderCache
The IADLX3DResetShaderCache interface configures reset shader cache on a GPU.
InterfaceId: |
IADLX3DResetShaderCache |
Smart Pointer Interface Name: |
IADLX3DResetShaderCachePtr |
Inherits: |
|
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
Method |
Description |
---|---|
Checks if resetting the shader cache of a GPU is supported. |
|
Resets the content in a disk-based shader cache on a GPU. |
Requirements
Header |
include “I3DSettings.h” |
Minimum version |
1.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 .