浏览代码

Merge pull request #502 from Unity-Technologies/feature/HDEditorCLI

Feature/hd editor cli
/Yibing-Project-2
GitHub 7 年前
当前提交
d8b5ebdb
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/Editor/HDEditorUtils.cs

3
ScriptableRenderPipeline/HDRenderPipeline/Editor/HDEditorUtils.cs


public static void RemoveMaterialKeywords(Material material)
{
foreach (var keyword in material.shaderKeywords)
material.DisableKeyword(keyword);
material.shaderKeywords = null;
}
}
}
正在加载...
取消
保存