GetShaderMode(BuiltinShaderType)
Get built-in shader mode.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static BuiltinShaderMode GetShaderMode(BuiltinShaderType type)
Parameters
Built-in shader type to query.
Returns
Type | Description |
|---|---|
| BuiltinShaderMode | Mode used for built-in shader. |
Remarks
Additional Resources: GraphicsSettings.SetShaderMode, GraphicsSettings.GetCustomShader, Graphics Settings.