|
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.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public bool ClearShaderCache(
string shaderName
)
Parameters
- shaderName String
- resourceName of the shader
Return Value
Booleantrue if shaderName was found and its cache was removed
See Also