Version: 2022.1
언어: 한국어
public static void ClearCachedData (Shader s);

설명

Clears all internally-cached data that was generated for the given shader, such as errors and compilation info.

This happens automatically on import for shader assets but should be called for programmatically-generated shaders to clear old data before calling UpdateShaderAsset.