GetShaderMode(BuiltinShaderType)
Get built-in shader mode.
Read time 1 minuteLast updated 9 days ago
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.