Click or drag to resize
AB4D logo

EffectsManagerClearShaderCache Method

Clears the cached shader that was created by the GetXXXShader method. After this method is called, the shader with shaderName will be created again when needed (useful when shader bytecode is changed). To clear all caches shaders, use the ClearAllCachedShader method.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public bool ClearShaderCache(
	string shaderName
)

Parameters

shaderName  String
resourceName of the shader

Return Value

Boolean
true if shaderName was found and its cache was removed
See Also