ShaderBuildSettings()
Creates an empty settings data structure for controlling how shaders are handled during the build.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.Shaders
- Assembly: UnityEditor.CoreModule
public ShaderBuildSettings()
Remarks
Use an empty settings structure to create custom solutions for shader build settings data management. For example, to clear the shader build settings, create a new settings data structure and apply it using EditorGraphicsSettings.SetShaderBuildSettings.